문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top