scripts/ruby.rb in standup-0.5.8 vs scripts/ruby.rb in standup-0.5.9
- old
+ new
@@ -1,10 +1,12 @@
Standup.script :node do
def run
unless remoting.rvm_installed?
install_package 'git-core'
sudo 'bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)'
+ sudo 'usermod -a -G rvm ubuntu'
sudo 'usermod -a -G rvm www-data'
+ sudo 'cd /usr/local/bin && sudo ln -s /usr/local/rvm/bin/rvm-shell'
exec 'source /usr/local/rvm/scripts/rvm'
remoting.instance_variable_set :@rvm_installed, true
end
unless exec('rvm list')[version]