diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-10-26 01:45:31 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-10-26 01:45:31 +0000 |
commit | 2bfd6772a4f3f9e0ff395cfd415dafbc1c9dec80 (patch) | |
tree | 0ba6c21d331d958962c7934e519883faae262684 | |
parent | 423788371a78da977eca78eb21e64adaaf517fc7 (diff) | |
download | rails-2bfd6772a4f3f9e0ff395cfd415dafbc1c9dec80.tar.gz rails-2bfd6772a4f3f9e0ff395cfd415dafbc1c9dec80.tar.bz2 rails-2bfd6772a4f3f9e0ff395cfd415dafbc1c9dec80.zip |
Use instead of STDERR in boot.rb. Closes #9988 [thewoolleyman]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8021 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r-- | railties/environments/boot.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/environments/boot.rb b/railties/environments/boot.rb index 3dec666c3a..7591290447 100644 --- a/railties/environments/boot.rb +++ b/railties/environments/boot.rb @@ -49,7 +49,7 @@ module Rails gem 'rails' end rescue Gem::LoadError => load_error - STDERR.puts %(Missing the Rails #{version} gem. Please `gem install -v=#{version} rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.) + $stderr.puts %(Missing the Rails #{version} gem. Please `gem install -v=#{version} rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.) exit 1 end @@ -72,12 +72,12 @@ module Rails require 'rubygems' unless rubygems_version >= '0.9.4' - STDERR.puts %(Rails requires RubyGems >= 0.9.4 (you have #{rubygems_version}). Please `gem update --system` and try again.) + $stderr.puts %(Rails requires RubyGems >= 0.9.4 (you have #{rubygems_version}). Please `gem update --system` and try again.) exit 1 end rescue LoadError - STDERR.puts %(Rails requires RubyGems >= 0.9.4. Please install RubyGems and try again: http://rubygems.rubyforge.org) + $stderr.puts %(Rails requires RubyGems >= 0.9.4. Please install RubyGems and try again: http://rubygems.rubyforge.org) exit 1 end |