Permalink
Browse files

Add gentoo support

  • Loading branch information...
vaskas committed Feb 2, 2013
1 parent 517723d commit 01bc15ea955f6d40a0937bfad38c599fb4ebffee
Showing with 7 additions and 0 deletions.
  1. +1 −0 README.md
  2. +3 −0 attributes/default.rb
  3. +1 −0 metadata.rb
  4. +2 −0 providers/ruby.rb
View
@@ -87,6 +87,7 @@ the recipes and LWRPs run on these platforms without error:
* scientific
* redhat
* fedora
+* gentoo
Please [report][issues] any additional platforms so they can be added.
View
@@ -69,6 +69,9 @@
when "debian","ubuntu","suse"
node.set['rvm']['install_pkgs'] = %w{sed grep tar gzip bzip2 bash curl git-core}
default['rvm']['user_home_root'] = '/home'
+when "gentoo"
+ node.set['rvm']['install_pkgs'] = %w{git}
+ default['rvm']['user_home_root'] = '/home'
when "mac_os_x", "mac_os_x_server"
node.set['rvm']['install_pkgs'] = %w{git}
default['rvm']['user_home_root'] = '/Users'
View
@@ -24,6 +24,7 @@
supports "amazon"
supports "redhat"
supports "fedora"
+supports "gentoo"
supports "mac_os_x"
supports "mac_os_x_server"
View
@@ -149,6 +149,8 @@ def install_ruby_dependencies(rubie)
make bzip2 autoconf automake libtool bison
libxml2 libxml2-devel libxslt libxslt-devel }
pkgs += %w{ git subversion autoconf } if rubie =~ /^ruby-head$/
+ when "gentoo"
+ pkgs = %w{ libiconv readline zlib openssl libyaml sqlite libxslt libtool gcc autoconf automake bison m4 }
end
when /^jruby/
begin

0 comments on commit 01bc15e

Please sign in to comment.