Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
look at multi step install to avoid issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Issakov committed Dec 19, 2011
1 parent 62adcbb commit 900ec54
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rvm.rb
Expand Up @@ -6,6 +6,9 @@

dep 'rvm system' do
met? { which 'rvm' }
meet { sudo('bash -c "`wget -O - https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer`"')}
meet {
sudo('wget -O /tmp/rvm-installer https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer"')
sudo('bash /tmp/rvm-installer"')
}
after { shell("echo '[[ -s \"/usr/local/rvm/scripts/rvm\" ]] && . \"/usr/local/rvm/scripts/rvm\" # Load RVM function' >> ~/.bash_profile") }
end

0 comments on commit 900ec54

Please sign in to comment.