rvm1-capistrano3 | RVM 1.x Capistrano 3.x integration gem
kandi X-RAY | rvm1-capistrano3 Summary
kandi X-RAY | rvm1-capistrano3 Summary
An automated version of the integration requiring minimal configuration. Includes task to install RVM and Ruby.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rvm1-capistrano3
rvm1-capistrano3 Key Features
rvm1-capistrano3 Examples and Code Snippets
Community Discussions
Trending Discussions on rvm1-capistrano3
QUESTION
What are the correct steps for changing the configuration of my project when change the ruby and rails version, using rmv.
For example, I have to change in deploy.rb set :rvm_ruby_version, '2.4.0@5.1'
, but what else?
I can't get Capistrano use the correct rvm gemset, and allways tries to bundle install
with the old rvm gemset
Do I have to change something in the production server? I think so, but in some order, before deploy and then after deploy some other changes...¿?
I have tried capistrano-rvm , rvm-capistrano, and finally rvm1-capistrano3
When I run cap production depoly, I get these errors, all arround "Could not determine which Ruby to use"
...ANSWER
Answered 2018-Oct-22 at 15:45In Rails.root create file with name .ruby-version and following content:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rvm1-capistrano3
This task will install stable version of rvm in $HOME/.rvm:.
This task will install ruby from the project (other the specified one):.
This task replaces capistrano-bundler gem use only one at time.
RG 2.0-2.1 - support for gem + version in Gemfile
RG 2.2 - limited support for Gemfile.lock - work still in progress, test with rvm rubygems head
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page