如何使用Ansible为rbenv安装gems

时间:2014-04-17 13:00:01

标签: bundler rbenv ansible

使用Ansible,如何使用gem(或其他)模块安装gem(在本例中为bundler),以便我可以运行以下命令而不会出错?

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

1 个答案:

答案 0 :(得分:0)

好吧,你总是可以使用shims目录中的bundle

command: ${HOME}/.rbenv/shims/bundle install --deployment
相关问题