Skip to content

Commit

Permalink
duplicate method fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Bray committed Jul 22, 2011
1 parent fd04f13 commit 315fd89
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions config/boot.rb
Expand Up @@ -121,20 +121,5 @@ def load_gems
end end
end end



# All that for this: # All that for this:
class Rails::Boot Rails.boot!
def run
load_initializer

Rails::Initializer.class_eval do
def load_gems
@bundler_loaded ||= Bundler.require :default, Rails.env
end
end

Rails::Initializer.run(:set_load_path)
end
end

Rails.boot!

0 comments on commit 315fd89

Please sign in to comment.