Class | Chef::Provider::Package::Rubygems::AlternateGemEnvironment |
In: |
lib/chef/provider/package/rubygems.rb
|
Parent: | GemEnvironment |
JRUBY_PLATFORM | = | /(:?universal|x86_64|x86)\-java\-[0-9\.]+/ |
gem_binary_location | [R] |
Attempt to detect the correct platform settings for the target gem environment.
In practice, this only makes a difference if different versions are available depending on platform, and only if the target gem environment has a radically different platform (i.e., jruby), so we just try to detect jruby and fall back to the current platforms (Gem.platforms) if we don‘t detect it.
objects, i.e., Strings that are valid for Gem::Platform or actual Gem::Platform objects.