I have this situation on my client workstation.
When i try to make a deploy, with
cap deploy
i get this error message:
capistrano is not part of the bundle. Add it to Gemfile. (Gem::LoadError)
Ok! But i don’t want to add it to gemfile. I want to use it system wide. The gem is currently installed.
Some information about the binary:
~/Code/ecommerce (master ✔) ᐅ which cap
cap: aliased to bundled_cap
~/Code/ecommerce (master ✔) ᐅ which bundled_cap
bundled_cap () {
_run-with-bundler cap $@
}
Any idea? I’m in wrong?
Seems like
bundle execis being prepended to yourcap deploycommand.Are you using something like bundler-exec or oh-my-zsh?