Implemented bundler. No more confusiong with gem versions!

This commit is contained in:
benni 2011-01-30 22:59:32 +01:00
parent 80691c441b
commit 20b7db306b
5 changed files with 95 additions and 5 deletions

View file

@ -106,5 +106,20 @@ module Rails
end
end
# Bundler requirements
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!