Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (13 sloc) 562 Bytes
class rvm::system($version='latest') {
exec { 'system-rvm':
path => '/usr/bin:/usr/sbin:/bin',
command => "bash -c '/usr/bin/curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer -o /tmp/rvm-installer ; \
chmod +x /tmp/rvm-installer ; \
rvm_bin_path=/usr/local/rvm/bin rvm_man_path=/usr/local/rvm/man /tmp/rvm-installer --version ${version} ; \
rm /tmp/rvm-installer'",
creates => '/usr/local/rvm/bin/rvm',
require => [
Class['rvm::dependencies'],
],
}
}
Something went wrong with that request. Please try again.