diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-08-02 16:41:08 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-08-03 15:09:14 -0500 |
commit | a6eed560b78af7e83c52a91f6a23c992a2b96ff6 (patch) | |
tree | 155fa35b41d8225a0b212a85338156c245423fa0 /lib/bundler.rb | |
parent | dfea4f22d32c5833ba373f4ecf7575cb49259d6c (diff) | |
download | bundler-a6eed560b78af7e83c52a91f6a23c992a2b96ff6.tar.gz |
Remove Bundler::Environment
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r-- | lib/bundler.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb index 98f8123466..b940dc063a 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -26,7 +26,6 @@ module Bundler autoload :Dsl, "bundler/dsl" autoload :EndpointSpecification, "bundler/endpoint_specification" autoload :Env, "bundler/env" - autoload :Environment, "bundler/environment" autoload :Fetcher, "bundler/fetcher" autoload :GemHelper, "bundler/gem_helper" autoload :GemHelpers, "bundler/gem_helpers" @@ -112,7 +111,8 @@ module Bundler end def environment - Bundler::Environment.new(root, definition) + SharedHelpers.major_deprecation "Bundler.environment has been removed in favor of Bundler.load" + load end # Returns an instance of Bundler::Definition for given Gemfile and lockfile |