-
Notifications
You must be signed in to change notification settings - Fork 60
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
is there supposed to be a ~/.rbenv/bin directory? #38
Comments
If you use Homebrew, your |
That means you don't need to change |
Thank you. Knew it had to be simpler. Again, new to rbenv and did the Capistrano using the recipes screencasts, not really understanding Capistrano -- I'll work on that. |
@salex, did you manage to get it working? Is it as such:
Don't think that is working on my side. Also do we need the |
@mech |
If I put the config as such
I will get this error
That's why it is puzzling how come it need to find such directory on a Mac OS X setup. I feel that it is like only for Linux. Obviously in a Mac using a typical install of rbenv with Homebrew, there is no such directory :( |
Based on the settings listed in the Usage section of capistrano/rbenv, the following worked by changing the path to the actual rbenv executable ( set :rbenv_prefix, "RBENV_ROOT=#{fetch(:rbenv_path)} RBENV_VERSION=#{fetch(:rbenv_ruby)} /usr/local/bin/rbenv exec" |
I had to |
@kirs, did you mean that this is already the default for rbenv_ruby and there's nothing to set?
I'm wondering because you also said:
Does this mean 'don't even set (rather than change) rbenv_prefix at all':
To avoid What's the proper way to set this up when installing with Homebrew? Thank you! related: #52 |
In my case I installed the Ubuntu
Use You can see the logic around this here:: rbenv/lib/capistrano/tasks/rbenv.rake Line 19 in 1fdb93a
rbenv/lib/capistrano/tasks/rbenv.rake Lines 35 to 45 in 1fdb93a
|
I have a server (OS X server) running several small rails applications. I had initially set it using brew to install ruby (could not get rvm to install!). I made some changes to one of the apps and ran into all kinds of problems with I updated the brew ruby version. I decided to try rbenv and set it up on the server. Lots of problems with clashes with the brew version that I eventually figured out.
I then tried to deploy and discovered that my bundle update loaded capistrano 3.1 and nothing worked. I started the conversion processes and I got stuck on:
I have no bin directory on what brew installed for rbenv. I changed it to:
and got it to work, but maybe I'm missing something. I did get a basic deploy to work, but still have to get the rest of my 'railscast/recipes' to work, like writing plists for launchd etc.
The text was updated successfully, but these errors were encountered: