Hi!
I've got a problem when I used a new templates functionality in Rails 2.3 (updated InstantRails on Windows Vista). I created a template and called it test.rb.
test.rb run "gem sources -a http://gems.github.com"
I tried to execute rails tt -m test.rb and got:
create log/development.log
create log/test.log
applying template: test.rb
executing gem sources -a http://gems.github.com from D:/Projects/Coding/Ruby/tt
D:/Programs/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/core_ext/kernel/agnostics.rb:7:in ``': Exec format error - gem sources -a http://gems.github.com
Of course, the "gem source -a xxx" command works normally from command line.