lib/rails/commands/runner.rb in railties-3.0.0.beta2 vs lib/rails/commands/runner.rb in railties-3.0.0.beta3
- old
+ new
@@ -16,10 +16,10 @@
opts.separator ""
opts.on("-h", "--help",
"Show this help message.") { $stderr.puts opts; exit }
- if RUBY_PLATFORM !~ /mswin/
+ if RUBY_PLATFORM !~ /mswin|mingw/
opts.separator ""
opts.separator "You can also use runner as a shebang line for your scripts like this:"
opts.separator "-------------------------------------------------------------"
opts.separator "#!/usr/bin/env #{File.expand_path($0)}"
opts.separator ""