-
-
Notifications
You must be signed in to change notification settings - Fork 251
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
recipe[rbenv::system_install] not adding to .bashrc #6
Comments
The |
Hi, The file you mentioned is indeed created and I can access rbenv after I log back in. Is there anyway to make the variables in this file available without logging back in? At the moment my cookbook installs rbenv using this cookbook and then goes on to execute other commands with require gems installed using rbenv, however as the PATH has not been amended I cannot see the install gems without calling source /etc/profile.d/rbenv.sh. It also means other cookbooks which rely on the version of ruby being used don't work i.e. passenger_apache2. Any help would be greatly appreciated. Thanks for the great cookbook. |
+1 this is a problem for me. |
Hi all, pull request #8 was merged in and should address this. If that's not the case, then please reopen. Thanks! |
install libreadline-dev in Ubuntu & Debian so irb will work
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The recipe works good with installing ruby and setting the default ruby version, however, it doesn't append the
PATH
andrbenv init
to my/etc/bash.bashrc
. I'm still new to chef, so do I need to use a separate provider to do this? I see that there is ascript
provider that appears to do this.I'm on
Ubuntu 11.10
The text was updated successfully, but these errors were encountered: