diff options
author | José Valim <jose.valim@gmail.com> | 2009-07-08 12:19:17 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-07-08 12:53:45 +0200 |
commit | c9ea21717eefb9e9b49891c519cc4d121ef7bb74 (patch) | |
tree | a7901541789ab022074cf043fd764a4992455b7f /railties/lib/generators/rails/app | |
parent | 2699e9c2ddff13c5e19e1c95e838fa6d9a965c34 (diff) | |
download | rails-c9ea21717eefb9e9b49891c519cc4d121ef7bb74.tar.gz rails-c9ea21717eefb9e9b49891c519cc4d121ef7bb74.tar.bz2 rails-c9ea21717eefb9e9b49891c519cc4d121ef7bb74.zip |
Generators are configured on initialization if RAILS_ENV=generators.
Diffstat (limited to 'railties/lib/generators/rails/app')
-rw-r--r-- | railties/lib/generators/rails/app/app_generator.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/generators/rails/app/app_generator.rb b/railties/lib/generators/rails/app/app_generator.rb index 1971d150c8..dc1d360e3f 100644 --- a/railties/lib/generators/rails/app/app_generator.rb +++ b/railties/lib/generators/rails/app/app_generator.rb @@ -1,5 +1,6 @@ require 'digest/md5' require 'active_support/secure_random' +require 'rails/version' unless defined?(RAILS::VERSION) module Rails::Generators class AppGenerator < Base |