aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/rails/app/app_generator.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/generators/rails/app/app_generator.rb')
-rw-r--r--railties/lib/generators/rails/app/app_generator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/rails/app/app_generator.rb b/railties/lib/generators/rails/app/app_generator.rb
index dc1d360e3f..20a06ed16a 100644
--- a/railties/lib/generators/rails/app/app_generator.rb
+++ b/railties/lib/generators/rails/app/app_generator.rb
@@ -1,6 +1,6 @@
require 'digest/md5'
require 'active_support/secure_random'
-require 'rails/version' unless defined?(RAILS::VERSION)
+require 'rails/version' unless defined?(Rails::VERSION)
module Rails::Generators
class AppGenerator < Base