Class: Chef::Provider::Package::Rubygems::CurrentGemEnvironment
Constant Summary
GemEnvironment::DEFAULT_UNINSTALLER_OPTS
Instance Method Summary
collapse
#candidate_version_from_file, #dependency_installer, #find_newest_remote_version, #install, #installed_versions, #spec_from_file, #uninstall, #uninstaller, #with_correct_verbosity, #with_gem_sources
Instance Method Details
#candidate_version_from_remote(gem_dependency, *sources) ⇒ Object
257
258
259
260
261
|
# File 'lib/chef/provider/package/rubygems.rb', line 257
def candidate_version_from_remote(gem_dependency, *sources)
with_gem_sources(*sources) do
find_newest_remote_version(gem_dependency, *sources)
end
end
|
#gem_paths ⇒ Object
245
246
247
|
# File 'lib/chef/provider/package/rubygems.rb', line 245
def gem_paths
Gem.path
end
|
#gem_source_index ⇒ Object
249
250
251
|
# File 'lib/chef/provider/package/rubygems.rb', line 249
def gem_source_index
Gem.source_index
end
|
#gem_specification ⇒ Object
253
254
255
|
# File 'lib/chef/provider/package/rubygems.rb', line 253
def gem_specification
Gem::Specification
end
|