lib/ventriloquist/cap/linux/rvm_install.rb in ventriloquist-0.2.1 vs lib/ventriloquist/cap/linux/rvm_install.rb in ventriloquist-0.3.0
- old
+ new
@@ -4,11 +4,11 @@
module Linux
module RvmInstall
def self.rvm_install(machine)
if ! machine.communicate.test('test -d $HOME/.rvm')
machine.env.ui.info('Installing RVM')
- machine.communicate.execute('\curl -L https://get.rvm.io | bash -s stable --autolibs=enabled')
- #machine.communicate.execute('rvm requirements')
+ machine.communicate.execute('\curl -L https://get.rvm.io | bash -s stable --autolibs=enabled --ignore-dotfiles')
+ machine.communicate.execute("echo 'source $HOME/.rvm/scripts/rvm' >> ~/.profile")
end
end
end
end
end