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 5ce1068e1a..f3b3ad0775 100644 --- a/railties/lib/commands/update.rb +++ b/railties/lib/commands/update.rb @@ -1,4 +1,4 @@ -RAILS_ENV.replace "generators" +require File.expand_path(File.join(File.dirname(__FILE__), '..', 'generators')) require "#{RAILS_ROOT}/config/environment" if ARGV.size == 0 |