Skip to content
Browse files

Fix regexp typo

  • Loading branch information...
1 parent 7fa6c16 commit 4d098327da8fc351cca5fc93e9db8a756e681104 @jeremy jeremy committed Apr 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/commands/runner.rb
View
2 railties/lib/rails/commands/runner.rb
@@ -18,7 +18,7 @@
opts.on("-h", "--help",
"Show this help message.") { $stderr.puts opts; exit }
- if RUBY_PLATFORM !~ /(:?mswin|mingw)/
+ 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 "-------------------------------------------------------------"

0 comments on commit 4d09832

Please sign in to comment.
Something went wrong with that request. Please try again.