Implemented bundler. No more confusiong with gem versions!
This commit is contained in:
parent
80691c441b
commit
20b7db306b
5 changed files with 95 additions and 5 deletions
|
|
@ -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!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue