diff options
Diffstat (limited to 'railties/lib/commands/update.rb')
-rw-r--r-- | railties/lib/commands/update.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/commands/update.rb b/railties/lib/commands/update.rb index 50b7d73e0e..5ce1068e1a 100644 --- a/railties/lib/commands/update.rb +++ b/railties/lib/commands/update.rb @@ -1,5 +1,5 @@ +RAILS_ENV.replace "generators" require "#{RAILS_ROOT}/config/environment" -require 'generators' if ARGV.size == 0 Rails::Generators.help |