Domanda

Using Ansible, how can I use the gem (or other) module to install a gem (in this case, bundler) such that I can run the following command without error?

deployer@boxes-vm:~$ ~/.rbenv/bin/rbenv exec bundle install
rbenv: bundle: command not found
È stato utile?

Soluzione

Well, you can always use the bundle from the shims directory

command: ${HOME}/.rbenv/shims/bundle install --deployment
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top