test/integration/app/config/boot.rb in ultrasphinx-1.7 vs test/integration/app/config/boot.rb in ultrasphinx-1.8
- old
+ new
@@ -53,11 +53,13 @@
require 'initializer'
end
def load_rails_gem
if version = self.class.gem_version
+ STDERR.puts "Boot.rb loading version #{version}"
gem 'rails', version
else
+ STDERR.puts "Boot.rb loading latest available version"
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