0

I have installed Capistrano 3 and I'm not able to get my app to call bundle install and precompile my assets on deploy.

I've seen that I have to configure my environment for RVM there http://rvm.io/deployment/capistrano#environment

But I was wondering, I have a dev computer A, and a deployment computer B, which both have RVM user-installed.

Should I configure Capistrano to use RVM on my dev computer or on the deployment computer?

Pacane
  • 20,273
  • 18
  • 60
  • 97
  • Capistrano uses SSH on your dev machine to run commands on the deployment machine, except for anything in a `run_locally` block. – Jimeux Jan 22 '14 at 13:52

1 Answers1

1

Does your Capfile have the following?

require 'capistrano/rails'
require 'capistrano/rvm'

capistrano/rails includes dependencies for bundler, assets and migrations.

https://github.com/capistrano/rails/blob/master/lib/capistrano/rails.rb
https://github.com/capistrano/rvm

Also make sure to read the readme on capistrano/rvm, as you need to have the correct capistrano/bundler version.

joshlatte
  • 311
  • 3
  • 4