Skip to content
Browse files

Correct typo in config/boot.rb.

  • Loading branch information...
1 parent 7d7d8f6 commit ed81f8b23d3acb7adfe8250664d028d1dc503df4 @seancribbs seancribbs committed Feb 22, 2009
Showing with 3 additions and 5 deletions.
  1. +1 −0 CHANGELOG
  2. +1 −1 config/boot.rb
  3. +1 −4 lib/generators/instance/templates/instance_boot.rb
View
1 CHANGELOG
@@ -2,6 +2,7 @@
=== Edge
+* Correct typo in config/boot.rb [Sean Cribbs]
* Major refactoring and simplification of LoginSystem. [Sean Cribbs]
* Update Haml to 2.0.7. [Sean Cribbs]
* Upgrade to Rails 2.2.2. [Sean Cribbs]
View
2 config/boot.rb
@@ -113,7 +113,7 @@ def load_radiant_gem
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
View
5 lib/generators/instance/templates/instance_boot.rb
@@ -77,8 +77,6 @@ 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
@@ -101,7 +99,6 @@ class GemBoot < Boot
def load_initializer
self.class.load_rubygems
load_radiant_gem
- # require 'initializer'
super
end
@@ -116,7 +113,7 @@ def load_radiant_gem
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

0 comments on commit ed81f8b

Please sign in to comment.
Something went wrong with that request. Please try again.