Skip to content

Commit

Permalink
Correct typo in config/boot.rb.
Browse files Browse the repository at this point in the history
  • Loading branch information
seancribbs committed Feb 22, 2009
1 parent 7d7d8f6 commit ed81f8b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion config/boot.rb
Expand Up @@ -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

Expand Down
5 changes: 1 addition & 4 deletions lib/generators/instance/templates/instance_boot.rb
Expand Up @@ -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
Expand All @@ -101,7 +99,6 @@ class GemBoot < Boot
def load_initializer
self.class.load_rubygems
load_radiant_gem
# require 'initializer'
super
end

Expand All @@ -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

Expand Down

0 comments on commit ed81f8b

Please sign in to comment.