Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8021

Show
Ignore:
Timestamp:
10/26/07 01:45:31 (10 months ago)
Author:
bitsweat
Message:

Use instead of STDERR in boot.rb. Closes #9988 [thewoolleyman]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/railties/environments/boot.rb

    r7998 r8021  
    5050      end 
    5151    rescue Gem::LoadError => load_error 
    52       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.) 
     52      $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.) 
    5353      exit 1 
    5454    end 
     
    7373 
    7474        unless rubygems_version >= '0.9.4' 
    75           STDERR.puts %(Rails requires RubyGems >= 0.9.4 (you have #{rubygems_version}). Please `gem update --system` and try again.) 
     75          $stderr.puts %(Rails requires RubyGems >= 0.9.4 (you have #{rubygems_version}). Please `gem update --system` and try again.) 
    7676          exit 1 
    7777        end 
    7878 
    7979      rescue LoadError 
    80         STDERR.puts %(Rails requires RubyGems >= 0.9.4. Please install RubyGems and try again: http://rubygems.rubyforge.org) 
     80        $stderr.puts %(Rails requires RubyGems >= 0.9.4. Please install RubyGems and try again: http://rubygems.rubyforge.org) 
    8181        exit 1 
    8282      end