0

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
gallygator
  • 377
  • 1
  • 4
  • 16
  • Possible duplicate of [Install Bundler gem using Ansible](http://stackoverflow.com/questions/22115936/install-bundler-gem-using-ansible) – Chris Grimmett Apr 19 '16 at 22:28

1 Answers1

0

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

command: ${HOME}/.rbenv/shims/bundle install --deployment
journeyer
  • 800
  • 1
  • 7
  • 17