Class: OS::CentOS

Inherits:
Linux show all
Defined in:
lib/prebundle/os.rb

Direct Known Subclasses

AmazonLinux

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from OS::Base

Instance Method Details

#commandObject



38
39
40
# File 'lib/prebundle/os.rb', line 38

def command
  "yum install mysql-devel"
end

#packagesObject



31
32
33
34
35
36
37
# File 'lib/prebundle/os.rb', line 31

def packages
  @gems.map do |gem|
    case gem
    when 'mysql2'; "mysql-devel"
    end
  end.flatten.uniq
end