Class: PoiseRuby::RubyProviders::System
- Includes:
- PoiseLanguages::System::Mixin
- Defined in:
- lib/poise_ruby/ruby_providers/system.rb
Overview
Class Method Summary collapse
Instance Method Summary collapse
-
#ruby_binary ⇒ Object
Output value for the Python binary we are installing.
Class Method Details
.default_inversion_options(node, resource) ⇒ Object
50 51 52 53 54 55 |
# File 'lib/poise_ruby/ruby_providers/system.rb', line 50 def self.(node, resource) super.merge({ # Install a separate rubygems package? Only needed for 1.8. rubygems_package: node['platform_family'] == 'rhel' && node['platform_version'].start_with?('6'), }) end |
Instance Method Details
#ruby_binary ⇒ Object
Output value for the Python binary we are installing. Seems to match package name on all platforms I've checked.
59 60 61 |
# File 'lib/poise_ruby/ruby_providers/system.rb', line 59 def ruby_binary ::File.join('', 'usr', 'bin', system_package_name) end |