Class: Raketeer::NokogiriAPTTask
- Inherits:
-
NokogiriInstallTask
- Object
- Rake::TaskLib
- NokogiriInstallTask
- Raketeer::NokogiriAPTTask
- 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_apt, &block) ⇒ NokogiriAPTTask
constructor
A new instance of NokogiriAPTTask.
Methods inherited from NokogiriInstallTask
Constructor Details
#initialize(name = :nokogiri_apt, &block) ⇒ NokogiriAPTTask
Returns a new instance of NokogiriAPTTask.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/raketeer/nokogiri_install_tasks.rb', line 53 def initialize(name=:nokogiri_apt,&block) super(name) @description = 'Install Nokogiri libs for Ubuntu/Debian' @install_cmd = %w[ sudo apt-get install ] @install_cmd << 'build-essential' @install_cmd << 'libgmp-dev' @install_cmd << 'liblzma-dev' @install_cmd << 'patch' @install_cmd << 'ruby-dev' @install_cmd << 'zlib1g-dev' define(&block) end |