Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Trigger an 'rbenv rehash' after gem installation #38

Open
fgrehm opened this issue Oct 10, 2012 · 3 comments
Open

Proposal: Trigger an 'rbenv rehash' after gem installation #38

fgrehm opened this issue Oct 10, 2012 · 3 comments

Comments

@fgrehm
Copy link
Contributor

fgrehm commented Oct 10, 2012

I wanted to make sure my deploy user is ready to log in the machine and run gem executables without having to remember to run rbenv rehash whenever a new gem gets installed from puppet

@geekle
Copy link
Contributor

geekle commented Sep 11, 2013

@fgrehm Not sure if you have resolved this one...
You can use the rbenv::plugin to install rbenv-gem-rehash.

Something like:

rbenv::plugin { 'rbenv-gem-rehash':
   user => 'deploy',
   source => 'git://github.com/sstephenson/rbenv-gem-rehash.git'
}

@filipegiusti
Copy link

+1 for running rbenv rehash after a new gem gets installed

@seanhandley
Copy link

+1 - I'm getting issues with the unicorn shim not being created until the rehash is triggered elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants