Created
July 26, 2012 15:39
-
-
Save valachi/3182779 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node['packages'].each do |package_name| | |
package package_name | |
end | |
bash "RVM Multi-User installing" do | |
code "sudo curl -L https://get.rvm.io | sudo bash -s stable" | |
end | |
bash "Updating rvm" do | |
code "#{node['rvm_bin']} get head" | |
code "#{node['rvm_bin']} reload" | |
end | |
node['rubies'].each do |ruby| | |
bash "Installing #{ruby}" do | |
code "#{node['rvm_bin']} install #{ruby}" | |
end | |
end | |
bash "Setting default ruby to 1.9.3" do | |
code "#{node['rvm_bin']} --default use 1.9.3" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment