Questions tagged [rvm-capistrano]

Ruby's gem RVM Capistrano

Integrating RVM with Capistrano provides the normal benefits of RVM when operating in the context of Capistrano deployment tasks. These include:

  1. Ensuring all Capistrano tasks use the correct Ruby and gems (including gemset support).
  2. Automatic installation of RVM and Ruby via Capistrano. Only possible when using rvm-capistrano gem.
  3. Manage gemsets via Capistrano, allowing you to install or update project gems as part of your deployment.

Here's the github for the repo: https://rubygems.org/gems/rvm-capistrano

143 questions
2
votes
1 answer

Capistrano deployment broken by new request for Capistrano-Harrow gem?

I thought my capistrano version was locked to 3.4.0, however it seems that it updated to 3.5. I tried going back to 3.4, but I keep getting the following message when I try to deploy my project to server. DEBUG [72bb6fc3] An error occurred…
daveomcd
  • 6,367
  • 14
  • 83
  • 137
2
votes
1 answer

Rails deployment to staging using capistrano generates the following error

I get the following when I try to deploy to server using capistrano gem from my local machine(MAC) {Rails app}. I am new to rails user-mbp:xp user$ cap staging deploy Server password: ******** DEBUG [c6110f69] Running /usr/bin/env [ -d ~/.rbenv ]…
s.matty
  • 125
  • 1
  • 11
2
votes
1 answer

Ruby on Rails, Deploy via Capistrano setup error

I am setting up Capistrano in a rails project for first time. When I run "cap production deploy:check" it goes OK. But when I run "cap prodution deploy" it gives back the following error... (Backtrace restricted to imported tasks) cap…
polarcare
  • 575
  • 1
  • 6
  • 24
2
votes
0 answers

capistrano deployment error after Bundler upgrade and adding source block

The latest branch of my project includes changes to the Gemfile based on the upgrade to Bundler 1.10.5, notably the use of a source block for two internal gems. This appears to be the cause of a problem when attempting to deploy to the testing…
joanwolk
  • 1,105
  • 1
  • 15
  • 26
2
votes
1 answer

capistrano3 tasks not retaining gemfile

I'm trying to update Capistrano to v3 using rvm1-capistrano and running into errors with the gemset. The relevant section of the Capfile: require 'rvm1/capistrano3' #require 'capistrano/bundler' require 'capistrano/rails/assets' require…
2
votes
1 answer

Rails in production throws 502 error

I try to deploy a testing application in production mode to VPN using: new and clean droplet on Digital Ocean Ubuntu 14.10 Rails 4.2.0 Ruby 2.1.5 RVM PostgreSQL Unicorn Capistrano 3.2.1 Nginx My app was deployed successfully, but it threw…
2
votes
1 answer

Canvas-LMS - LoadError: cannot load such file -- parallel

Working on deploying the canvas to a server and when i run the command RAILS_ENV=production bundle exec rake canvas:compile_assets i get an error : LoadError: cannot load such file --…
2
votes
0 answers

How to install Ruby via rvm1-capistrano3

I want to install rvm via rvm1-capistrano. Every time I run the task it tells me that Ruby [version] is not installed. Which is weird because I already know its not installed, and this is why I'm running the task: To install it. Why is this? This is…
Jumbalaya Wanton
  • 1,601
  • 1
  • 25
  • 47
2
votes
0 answers

What's the difference between the capistrano-rvm and rvm1-capistrano3 gems?

In Capistrano 3 I'm confused which gem I should use to install RVM and Ruby on my server. There's capistrano-rvm and rvm1-capistrano3. To make matters more confusing, there's a commit in capistrano-rvm saying it's merged both projects. I tried with…
Jumbalaya Wanton
  • 1,601
  • 1
  • 25
  • 47
2
votes
2 answers

Missing current folder Capistrano Rails 3.2

I need to understand why capistrano doesn't create the folder current. I'm using the following command : cap deploy:setup, cap deploy:check, cap deploy But when i check in my app directory, i don't current folder. This my deploy.rb # Execute "bundle…
JeremyP
  • 575
  • 1
  • 9
  • 20
2
votes
2 answers

RVM + Capistrano failed error bug?

I am currently deploying my application and for some odd reason I keep getting this error when doing cap:deploy. I have tried everything on the face of the internet and cannot find a solution to this problem *** [deploy:update_code] rolling…
coletrain
  • 2,809
  • 35
  • 43
2
votes
1 answer

How can I correctly deploy static and compiled assets in rails with nginx and capistrano?

In my project, I have tried to bundle most of my js libraries into gems so they can be updated and pulled in whenever necessary, however, I've recently setup our production server and I'm having issues with asset compilation and static assets in…
2
votes
1 answer

Error Connecting to GitoLite from Staging Server - ECONNREFUSED Deploy Error

I'm having a little trouble trying to deploy a previously working project to the development server. I did not set-up the system however I do have all the credentials I need (I think). After trying cap staging deploy I get so far and then it…
edev.io
  • 560
  • 5
  • 21
2
votes
0 answers

RVM Capistrano error when checking Gemfile.lock into version control before deploying

I when try to deploy using Capistrano on my staging machine I get the following error The error is related to the revision control of Gemfile.lock ** [out :: 192.168.1.14] The --deployment flag requires a Gemfile.lock. Please make sure you have…
guillemhs
  • 330
  • 1
  • 2
  • 17
2
votes
2 answers

Capistrano complains when trying to deploy

$ bundle exec cap -S branch=master production deploy --dry-run /Users/myname/.rvm/lib/rvm/capistrano.rb:5: RVM - Capistrano integration was extracted to a separate gem, install: `gem install rvm-capistrano` and remove the `$LOAD_PATH.unshift` line,…
Shamoon
  • 41,293
  • 91
  • 306
  • 570
1 2
3
9 10