-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
bash: bundle: command not found #528
Comments
I have the same issue with mina-sidekiq. |
I have the same issue with mina deploy |
Are you sure you installed bundler on your server for your current ruby version? If you're using rbenv, ssh to you server and type in
Also be sure to export this in your
|
According to Mic92/mina-sidekiq#18 this is due to a sub shell spawning and not loading rvm/rbenv. I didn't dig into detail. Id rather not initialize rbenv in |
I have problem too with rvm
not work Mina, but in ssh is it works) |
I am write in config/deploy.rb |
same issue as #513 (comment) |
Changing the line I am not sure, if this is because I installed a new version of the gem (likely) or because I had changed from rvm to rbenv locally (not so likely). Also, I don't understand why this fixed the problem. |
Using mina 1.2.3 did not fix this for me. Running Mina is a great tool otherwise but this does not work. |
Can you please check my comment here #528 (comment) and confirm that it's set up correctly? |
- Bump ruby version - Add gem install bundler. [mina-deploy#594 (comment)](mina-deploy#594) [mina-deploy#528(comment)](mina-deploy#528)
I solved it this way:
For rbenv. |
@designrubenz
see https://stackoverflow.com/questions/7044714/whats-the-environment-task-in-rake |
The template already has what you need to run the rbenv. This is what I did. require 'mina/rbenv'
task :remote_environment do
invoke :'rbenv:load'
end |
Every command that invokes "bundle" throw this error:
"bash: bundle: command not found"
Im using v1.0.6
The text was updated successfully, but these errors were encountered: