Error "bundle: command not found"
Closed this issue · 5 comments
After replacing the mina-puma gem with the mina-ng-puma gem, I get the flowing error during the phased-restart phase in the deployment:
Restart Puma -- phased... bash: line 178: bundle: command not found Waiting phased-restart finish( default: 120 seconds)... bash: line 198: bundle: command not found bash: line 199: bundle: command not found bash: line 198: bundle: command not found bash: line 199: bundle: command not found bash: line 198: bundle: command not found bash: line 199: bundle: command not found bash: line 198: bundle: command not found bash: line 199: bundle: command not found bash: line 198: bundle: command not found bash: line 199: bundle: command not found bash: line 198: bundle: command not found bash: line 199: bundle: command not found
Bundle is installed and the bundle:install step in the mina deployment finishes with Bundle complete!
Bundle version: 1.17.3
Hi, Did you add
task :remote_environment do
invoke :'rbenv:load'
end
to your deploy.rb ?
Hi, I am using rvm, but my deploy.rb includes the following task
task :remote_environment do
invoke :'rvm:use', 'ruby-2.4.1@default'
end