Closed hakanai closed 8 years ago
In the readme, on Installation and Usage step 2, did you detect server capabilities?
Were you able to select the appropriate RVM or ruby runtime
in step 4 miscellaneous tab?
rbenv support is written to the plugin for recommended installations, if you have gone outside the norm then it may not work.
When you detect server capabilities, you should see Searching for rbenv installation in users home directory located at
in the log. I don't use rbenv, but it appears you are using something like a global or shared installation, instead of a user installation under ~/.rbenv
like the rbenv readme suggests.
I would suggest setting up your rbenv as suggested, then re-detecting server capabilities. You should see an rbenv manager with a path under ~/.rbenv
.
Confirmed to be a non-standard install in the stackoverflow comments.
Added extra message for next release, not sure we need any other action at this point.
I configured my Bamboo instance as follows:
Server capabilities:
Direct support for rbenv would have been nice (then it could populate the list of versions automatically, which would be nice), but at least it was possible to configure the full path, so I did that.
In the plan configuration under Miscellaneous:
When I try to run the plan, I get a cryptic error:
Questions not answered by that error message:
I get the feeling that some kind of underlying exception has been swallowed by the plugin, and thanks to that, I have no lead to follow which would otherwise give a clue to what I have done wrong.
The executables are certainly present:
rbenv is also on the path:
Maybe it's looking in a hard-coded location for it or something? It would be helpful if it printed that location.
Getting this working is sort of low priority though to be honest, because Bamboo is lacking in so many other areas that it is unlikely that we'll continue using it anyway. I guess making this sort of error more obvious could help the next person who comes along.