rvm1-capistrano3
rvm1-capistrano3 copied to clipboard
Installing rvm to system and setting rvm_path
Hi, So I'm trying to use a system rvm install to allow my ci to be able to use rvm on its own.
I'm trying to use this: fetch(:default_env).merge!( rvm_path: "/opt/rvm" )
, but I'm not sure where to put it and if it's actually working. I've tried it with 1.4.0 and master. 1.4.0 is just ignoring it where master complains it can't find rvm_path
.
Hi there,
I've had a similar problem, for which I made some investigation and found out what later came out to be this PR: https://github.com/rvm/rvm1-capistrano3/pull/76
You can set :default_env in your deploy.rb or in the stage-specific config, I believe.
Hey thanks for the reply. fetch(:default_env).merge!( rvm_path: "/opt/rvm" )
isn't this doing the same thing?
I ended up using capistrano-bundler
with rvm1-capistrano3
. I could set rvm_path
, bundle with more cores and only install production gems. Which skips spring
and saves a lot of ram.