-
Notifications
You must be signed in to change notification settings - Fork 30
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
Usage with Capistrando and capistrano/rbenv plugin #46
Comments
Fullstaq Ruby uses a modified rbenv which adds support for system-wide installed Rubies. It looks like capistrano-rbenv is written with the assumption that Rubies are always located in RBENV_DIR/versions, which is not the case in fullstaq-rbenv. You should submit a feature request to capistrano-rbenv. |
Ok. I'll explore a solution with the |
Hi, I think I've found a way to do it. There's a "hidden" option (at least it was not documented) to set the rbenv_ruby_dir in the That, combined with altering a little bit the rbenv_prefix option, so it point to the correct rbenv bin, works ok. I've already submitted a PR on the I've just sumitted a PR to document the neccesary options to add for the Thanks :) |
Thanks @guillehorno! I've posted some feedback in the PR. |
This has been implemented. |
Hi,
I just installed fullstaq-ruby on a new server. Everything worked out fine. I followed the instructions regarding the rbenv integrations, got it working ok. When I write
rbenv versions
the output shows me the correct fullstaq-ruby installed version:I added the line indicating the version in the deploy.rb file:
When I try to run
cap deploy
it looks like it still tries to check if the ruby version is installed on the.rbenv
home folder:I've tried setting the rbenv_custom_path to the fullstaq folder
It works initially (it fools this initial check) but then it fails when capistrano tries to use that path to execute rbenv
Is there something else I'm missing? Thanks!!
The text was updated successfully, but these errors were encountered: