diff options
author | Andre Arko <andre@arko.net> | 2010-03-26 20:12:22 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2010-03-30 00:13:35 -0700 |
commit | 0d92de7842d3b7260671944bc804c110fa1a7fcd (patch) | |
tree | a4e31da77361858cba2cc09cf84de99867a03b1c /lib/bundler/environment.rb | |
parent | 93d2a242400f503f04e692cb51a016d2db79b057 (diff) | |
download | bundler-0d92de7842d3b7260671944bc804c110fa1a7fcd.tar.gz |
Add Bundler::Source::BundlerGems, to distingush from SystemGems.
This allows, among other things, for the bundle install command to
inform users of whether the gem being bundled is currently installed
in system gems or into the set of bundled gems.
Diffstat (limited to 'lib/bundler/environment.rb')
-rw-r--r-- | lib/bundler/environment.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler/environment.rb b/lib/bundler/environment.rb index d50896156e..10d5f75d49 100644 --- a/lib/bundler/environment.rb +++ b/lib/bundler/environment.rb @@ -30,6 +30,10 @@ module Bundler private + def sources + @definition.sources + end + def runtime_gems @runtime_gems ||= Index.build do |i| sources.each do |s| |