Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing rvm to system and setting rvm_path #77

Open
iaankrynauw opened this issue Feb 10, 2017 · 2 comments
Open

Installing rvm to system and setting rvm_path #77

iaankrynauw opened this issue Feb 10, 2017 · 2 comments

Comments

@iaankrynauw
Copy link

iaankrynauw commented Feb 10, 2017

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.

@magandrez
Copy link

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: #76

You can set :default_env in your deploy.rb or in the stage-specific config, I believe.

@iaankrynauw
Copy link
Author

iaankrynauw commented Mar 30, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants