Permalink
Browse files

Add bundler.

  • Loading branch information...
1 parent 3bd45d1 commit 18a61f1dd7befd6929a1784a009b43ed14eebdf5 @metaskills committed May 11, 2011
Showing with 12 additions and 0 deletions.
  1. +12 −0 config/boot.rb
  2. 0 log/development.log
View
@@ -110,5 +110,17 @@ def read_environment_rb
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:
Rails.boot!
View
No changes.

0 comments on commit 18a61f1

Please sign in to comment.