Sha256: 23bafdd3306c05681133b1fc20ced6ca96fb81bf01ec3de59671538131e4fb2d

Contents?: true

Size: 699 Bytes

Versions: 160

Compression:

Stored size: 699 Bytes

Contents

module Bundler
  class Environment
    attr_reader :root

    def initialize(root, definition)
      @root = root
      @definition = definition

      env_file = Bundler.app_config_path.join('environment.rb')
      env_file.rmtree if env_file.exist?
    end

    def inspect
      @definition.to_lock.inspect
    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(Bundler.default_lockfile)
    end

    def update(*gems)
      # Nothing
    end

  end
end

Version data entries

160 entries across 132 versions & 5 rubygems

Version Path
rb2exe-0.1.43 bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/environment.rb
rb2exe-0.1.40 bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/environment.rb
rb2exe-0.1.39 bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/environment.rb
rb2exe-0.1.38 bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/environment.rb
rb2exe-0.1.29 bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/environment.rb
rb2exe-0.1.14 bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/environment.rb
rb2exe-0.1.12 bin/traveling-ruby-2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/environment.rb
bundler-1.9.10 lib/bundler/environment.rb
bundler-1.10.3 lib/bundler/environment.rb
bundler-1.10.2 lib/bundler/environment.rb
bundler-1.10.1 lib/bundler/environment.rb
bundler-1.10.0 lib/bundler/environment.rb
bundler-1.10.0.rc lib/bundler/environment.rb
bundler-1.9.9 lib/bundler/environment.rb
bundler-1.9.8 lib/bundler/environment.rb
bundler-1.9.7 lib/bundler/environment.rb
bundler-1.10.0.pre.2 lib/bundler/environment.rb
bundler-1.10.0.pre.1 lib/bundler/environment.rb
bundler-1.10.0.pre lib/bundler/environment.rb
bundler-1.9.6 lib/bundler/environment.rb