diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-04-13 12:06:12 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-04-13 12:06:12 -0700 |
commit | 4d098327da8fc351cca5fc93e9db8a756e681104 (patch) | |
tree | 4a3dfcdd8125bbef04cda7a041e8d3ca25aa4eb0 /railties/lib | |
parent | 7fa6c16b7070b4359cf001a39125afb2cfc4736c (diff) | |
download | rails-4d098327da8fc351cca5fc93e9db8a756e681104.tar.gz rails-4d098327da8fc351cca5fc93e9db8a756e681104.tar.bz2 rails-4d098327da8fc351cca5fc93e9db8a756e681104.zip |
Fix regexp typo
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/commands/runner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/runner.rb b/railties/lib/rails/commands/runner.rb index 2df7912741..5634ee0f69 100644 --- a/railties/lib/rails/commands/runner.rb +++ b/railties/lib/rails/commands/runner.rb @@ -18,7 +18,7 @@ ARGV.clone.options do |opts| 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 "-------------------------------------------------------------" |