Class: Raketeer::NokogiriDNFTask
- Inherits:
-
NokogiriInstallTask
- Object
- Rake::TaskLib
- NokogiriInstallTask
- Raketeer::NokogiriDNFTask
- Defined in:
- lib/raketeer/nokogiri_install_tasks.rb
Overview
Instance Attribute Summary
Attributes inherited from NokogiriInstallTask
#description, #install_cmd, #name
Instance Method Summary collapse
-
#initialize(name = :nokogiri_dnf, &block) ⇒ NokogiriDNFTask
constructor
A new instance of NokogiriDNFTask.
Methods inherited from NokogiriInstallTask
Constructor Details
#initialize(name = :nokogiri_dnf, &block) ⇒ NokogiriDNFTask
Returns a new instance of NokogiriDNFTask.
75 76 77 78 79 80 81 82 83 84 85 86 |
# File 'lib/raketeer/nokogiri_install_tasks.rb', line 75 def initialize(name=:nokogiri_dnf,&block) super(name) @description = 'Install Nokogiri libs for Fedora/CentOS/Red Hat' @install_cmd = %w[ sudo dnf install ] @install_cmd << 'gcc' @install_cmd << 'ruby-devel' @install_cmd << 'zlib-devel' define(&block) end |