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
49 50 51 52 53 54 |
# File 'lib/poise_ruby/ruby_providers/system.rb', line 49 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.
58 59 60 |
# File 'lib/poise_ruby/ruby_providers/system.rb', line 58 def ruby_binary ::File.join('', 'usr', 'bin', system_package_name) end |