Class: OS::CentOS
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from OS::Base
Instance Method Details
#command ⇒ Object
38 39 40 |
# File 'lib/prebundle/os.rb', line 38 def command "yum install mysql-devel" end |
#packages ⇒ Object
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 |