mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
ran rake rails:update which altered boot.rb
This commit is contained in:
parent
6b95deef85
commit
513734dce0
1 changed files with 6 additions and 2 deletions
|
@ -62,8 +62,12 @@ module Rails
|
||||||
gem 'rails'
|
gem 'rails'
|
||||||
end
|
end
|
||||||
rescue Gem::LoadError => load_error
|
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.)
|
if load_error.message =~ /Could not find RubyGem rails/
|
||||||
exit 1
|
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
|
end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue