diff options
author | José Valim <jose.valim@gmail.com> | 2009-07-13 18:18:08 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-07-13 18:18:08 +0200 |
commit | f68e7a3987adf2cffe0e48263d117839c2028185 (patch) | |
tree | 2ac5f0da1bb2e11e48c6f68a2598d4761837fd20 /railties/lib/commands/update.rb | |
parent | 21019304f07f9ba70ef0ec4434d96321cebc266c (diff) | |
download | rails-f68e7a3987adf2cffe0e48263d117839c2028185.tar.gz rails-f68e7a3987adf2cffe0e48263d117839c2028185.tar.bz2 rails-f68e7a3987adf2cffe0e48263d117839c2028185.zip |
Remove generator environment until we have a gem manifest.
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 |