Skip to content

Commit

Permalink
Add bundler.
Browse files Browse the repository at this point in the history
  • Loading branch information
metaskills committed May 11, 2011
1 parent 3bd45d1 commit 18a61f1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions config/boot.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -110,5 +110,17 @@ def read_environment_rb
end end
end end


class 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

# All that for this: # All that for this:
Rails.boot! Rails.boot!
Empty file removed log/development.log
Empty file.

0 comments on commit 18a61f1

Please sign in to comment.