From: <jh...@us...> - 2010-12-18 08:43:33
|
Revision: 236 http://etch.svn.sourceforge.net/etch/?rev=236&view=rev Author: jheiss Date: 2010-12-18 08:43:26 +0000 (Sat, 18 Dec 2010) Log Message: ----------- Updates as a result of running the rails:update rake task after upgrading to rails 2.3.10 Modified Paths: -------------- trunk/server/config/boot.rb Modified: trunk/server/config/boot.rb =================================================================== --- trunk/server/config/boot.rb 2010-12-18 08:42:53 UTC (rev 235) +++ trunk/server/config/boot.rb 2010-12-18 08:43:26 UTC (rev 236) @@ -62,8 +62,12 @@ 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.) - exit 1 + if load_error.message =~ /Could not find RubyGem rails/ + 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 + else + raise + end end class << self This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |