Forums » Rails-core » rails command line options (at least partially) broken in 1.

rails command line options (at least partially) broken in 1.
Posted by Ryan Raaum (Guest)
on 22.03.2006 20:27
At least the -r/--ruby option has issues...

Examples (same result for both -r and --ruby versions):

 Doesn't work at all if option comes before application name

 rails -r "/usr/bin/env ruby" testapp   #=> Permission denied -
 /usr/bin/env ruby

 Will function if option given after application name, but yields a 
broken
 shebang

 rails testapp -r "/usr/bin/env ruby"   #=> appears to work
 (creates app, but dispatch.fcgi shebang is `#!true`)


Anyone knowledgable about the ins and outs of the app generator?

-r

(submitted as ticket #4361)