diff options
author | José Valim <jose.valim@gmail.com> | 2009-07-08 12:55:50 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-07-08 12:55:50 +0200 |
commit | 09c288f0c5b5f9da4473bb321cccb766d9f59d7e (patch) | |
tree | d12cb86acdbe32ca2c6c9971ff9921360a02b1ef /railties/lib/commands/update.rb | |
parent | c9ea21717eefb9e9b49891c519cc4d121ef7bb74 (diff) | |
download | rails-09c288f0c5b5f9da4473bb321cccb766d9f59d7e.tar.gz rails-09c288f0c5b5f9da4473bb321cccb766d9f59d7e.tar.bz2 rails-09c288f0c5b5f9da4473bb321cccb766d9f59d7e.zip |
Add the new generators environment and update commands.
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 |