Permalink
Browse files

update rvm installation

  • Loading branch information...
1 parent 29bda8a commit b3bea2cc5151b10cb51373a3112f3847f55468af @jbarreneche jbarreneche committed Feb 16, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 rvm/manifests/init.pp
View
@@ -23,8 +23,9 @@
alias => 'rvm',
cwd => "/tmp",
path => '/usr/bin:/usr/sbin:/bin:/usr/local/rvm/bin',
+ user => 'root',
unless => 'which rvm',
- command => "bash -c '/usr/bin/curl -s https://rvm.beginrescueend.com/install/rvm -o rvm-installer ; chmod +x rvm-installer ; rvm_bin_path=/usr/local/rvm/bin rvm_man_path=/usr/local/rvm/man sudo ./rvm-installer'",
+ command => "curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer | bash -s stable",
require => Class['rvm::dependencies'],
}
@@ -38,4 +39,4 @@
creates => "/usr/local/rvm/gems/${ruby}@${gemset}",
}
}
-}
+}

0 comments on commit b3bea2c

Please sign in to comment.