123456789_123456789_123456789_123456789_123456789_

Module: Gem::Specification::TrackGemfileActivation

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: lib/bundler/rubygems_ext.rb

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

#bundler_activating_gemfile (readonly)

The Gemfile being evaluated when RubyGems activated this spec.

[ GitHub ]

  
# File 'lib/bundler/rubygems_ext.rb', line 285

attr_reader :bundler_activating_gemfile

Instance Method Details

#activate

[ GitHub ]

  
# File 'lib/bundler/rubygems_ext.rb', line 287

def activate
  activated = super
  @bundler_activating_gemfile = Thread.current[:bundler_evaluating_gemfile] if activated
  activated
end