diff options
author | Ryan Bates <ryan@railscasts.com> | 2008-05-21 16:12:54 -0700 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-05-22 11:56:30 +0100 |
commit | 4e084c3d9860c31fca21395c13031f04bb510b15 (patch) | |
tree | 5dfbb4be28b0861d42b0313eb207f87e6a0e8311 /railties/lib/commands | |
parent | 314e556e6fb7278e37f6105fedbe5fc51f7f848a (diff) | |
download | rails-4e084c3d9860c31fca21395c13031f04bb510b15.tar.gz rails-4e084c3d9860c31fca21395c13031f04bb510b15.tar.bz2 rails-4e084c3d9860c31fca21395c13031f04bb510b15.zip |
Add Rails.version. [#236 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'railties/lib/commands')
-rw-r--r-- | railties/lib/commands/console.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/commands/console.rb b/railties/lib/commands/console.rb index edffe4f1e6..2b9d92f647 100644 --- a/railties/lib/commands/console.rb +++ b/railties/lib/commands/console.rb @@ -24,9 +24,9 @@ ENV['RAILS_ENV'] = case ARGV.first end if options[:sandbox] - puts "Loading #{ENV['RAILS_ENV']} environment in sandbox (Rails #{Rails::VERSION::STRING})" + puts "Loading #{ENV['RAILS_ENV']} environment in sandbox (Rails #{Rails.version})" puts "Any modifications you make will be rolled back on exit" else - puts "Loading #{ENV['RAILS_ENV']} environment (Rails #{Rails::VERSION::STRING})" + puts "Loading #{ENV['RAILS_ENV']} environment (Rails #{Rails.version})" end exec "#{options[:irb]} #{libs} --simple-prompt" |