class Raketeer::NokogiriDNFTask

@author Jonathan Bradley Whited @since 0.1.0

Public Class Methods

new(name=:nokogiri_dnf,&block) click to toggle source
Calls superclass method Raketeer::NokogiriInstallTask::new
# 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