deploy to server, where rbenv isn't used at all
- Dominant language
- Ruby
- Stars
- 217
- Forks
- 59
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
is it correct that I can not install on both server A and server B? Where Server A is running rbenv, and Server B is not running rbenv at all.
:rbenv_roles are defining the roles, where task :validate is running. But :map_bins is execute in any case, which leads to `/home/app/.rbenv/bin/rbenv: No such file or directory` (of course).
Am I missing something or what approach could lead to a solution?
I tried
```
task :map_bins do
on release_roles(fetch(:rbenv_roles)) do
[...]
```
but this does not work out of the box
Thanks and regards, Phil
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the implementations of :validate and :map_bins, focusing on how :rbenv_roles is applied to a deployment with one rbenv host and one host without rbenv. Reproduce the reported /home/app/.rbenv/bin/rbenv failure; done means mixed-role deployment no longer invokes rbenv tasks on hosts outside :rbenv_roles.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100