&tag(Capistrano3/トラブルシューティング);
bundle exec cap production deploy --trace
set :log_level, :debug
ssh remotehost 'cd /Users/sora/www/myapp/releases/20160616053411 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.3.1" ; $HOME/.rbenv/bin/rbenv exec bundle install --path /Users/sora/www/myapp/shared/bundle --without development test --deployment --)'
task :printenv do
on roles(:web) do |host|
execute "printenv"
end
end
bundle exec cap production printenv
sudo apt-get install nodejs sudo yum install nodejs
gem.files = `git ls-files`.split($\)
ssh-add -D