Sha256: 48464ad6930c81cc40175ab2d2228399e520246b1401e109241681fabcc65ceb
Contents?: true
Size: 794 Bytes
Versions: 3
Compression:
Stored size: 794 Bytes
Contents
module Bundler class Environment attr_reader :root def initialize(root, definition) @root = root @definition = definition env_file = root.join('.bundle/environment.rb') env_file.rmtree if env_file.exist? end def inspect @definition.to_lock.inspect end # TODO: Remove this method. It's used in cli.rb still def index @definition.index end def requested_specs @definition.requested_specs end def specs @definition.specs end def dependencies @definition.dependencies end def current_dependencies @definition.current_dependencies end def lock @definition.lock(root.join('Gemfile.lock')) end def update(*gems) # Nothing end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bundler-1.0.0.rc.2 | lib/bundler/environment.rb |
bundler-1.0.0.rc.1 | lib/bundler/environment.rb |
bundler-1.0.0.beta.10 | lib/bundler/environment.rb |