Vote count:
0
In deploying a rails 4.1.0 application, when I run
cap production deploy:setup_config
I get the error message
cap aborted!
Don't know how to build task 'deploy:compile_assets_locally'
Capfile
require 'capistrano/setup'
require 'capistrano/deploy'
require 'capistrano/rbenv'
require 'capistrano/rails/migrations'
# Loads custom tasks from `lib/capistrano/tasks' if you have any defined.
Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r }
Dir.glob('lib/capistrano/**/*.rb').each { |r| import r }
deploy.rb
after 'deploy:symlink:shared', 'deploy:compile_assets_locally'
asked 1 min ago
Aucun commentaire:
Enregistrer un commentaire