Module: BundlerDefinitionRubyVersionPatch
- Included in:
- Bundler::Definition
- Defined in:
- lib/bundler_definition_ruby_version_patch.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/bundler_definition_ruby_version_patch.rb', line 4 def index @index ||= super.tap do if ruby_version requested_version = ruby_version.to_gem_version_with_patchlevel sources..specs << Gem::Specification.new("ruby\0", requested_version) end end end |