lib/generators/instance/templates/instance_boot.rb in radiant-0.7.2 vs lib/generators/instance/templates/instance_boot.rb in radiant-0.8.0

- old
+ new

@@ -75,12 +75,10 @@ class VendorBoot < Boot def load_initializer $LOAD_PATH.unshift "#{RAILS_ROOT}/vendor/radiant/lib" super - #require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer" - #Rails::Initializer.run(:install_gem_spec_stubs) end def load_error_message "Please verify that vendor/radiant contains a complete copy of the Radiant sources." end @@ -99,11 +97,10 @@ class GemBoot < Boot def load_initializer self.class.load_rubygems load_radiant_gem - # require 'initializer' super end def load_error_message "Please reinstall the Radiant gem with the command 'gem install radiant'." @@ -114,10 +111,10 @@ gem 'radiant', version else gem 'radiant' end rescue Gem::LoadError => load_error - $stderr.puts %(Missing the Radiant #{version} gem. Please `gem install -v=#{version} rails`, update your RADIANT_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RADIANT_GEM_VERSION to use the latest version installed.) + $stderr.puts %(Missing the Radiant #{version} gem. Please `gem install -v=#{version} radiant`, update your RADIANT_GEM_VERSION setting in config/environment.rb for the Radiant version you do have installed, or comment out RADIANT_GEM_VERSION to use the latest version installed.) exit 1 end class << self def rubygems_version