Update to Rails 2.3.8
This commit is contained in:
parent
6677b46cb4
commit
f0635301aa
429 changed files with 17683 additions and 4047 deletions
|
@ -45,7 +45,7 @@ def find_cmd(*commands)
|
|||
end
|
||||
|
||||
case config["adapter"]
|
||||
when "mysql"
|
||||
when /^mysql/
|
||||
args = {
|
||||
'host' => '--host',
|
||||
'port' => '--port',
|
||||
|
|
2
vendor/rails/railties/lib/commands/runner.rb
vendored
2
vendor/rails/railties/lib/commands/runner.rb
vendored
|
@ -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/
|
||||
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 "-------------------------------------------------------------"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue