aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/application.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails/commands/application.rb')
-rw-r--r--railties/lib/rails/commands/application.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/application.rb b/railties/lib/rails/commands/application.rb
index d7b8ff4439..2ff29418c6 100644
--- a/railties/lib/rails/commands/application.rb
+++ b/railties/lib/rails/commands/application.rb
@@ -1,7 +1,7 @@
require 'rails/version'
if ['--version', '-v'].include?(ARGV.first)
- puts "Rails #{Rails.version}"
+ puts "Rails #{Rails::VERSION::STRING}"
exit(0)
end