Skip to content
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

deploy to server, where rbenv isn't used at all #87

Open
philister opened this issue May 3, 2019 · 1 comment
Open

deploy to server, where rbenv isn't used at all #87

philister opened this issue May 3, 2019 · 1 comment

Comments

@philister
Copy link

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

@ivanovv
Copy link

ivanovv commented Sep 16, 2020

Hey,

I know it is a pretty rare use case, and maybe there are easer ways to do it, but I want to migrate part of my farm from rbenv to system ruby (basically, going from infrastructure managed by hand to Ansible managed servers) and at some point I need to run these two types of servers in parallel, basically, something very similar what Phil tries to do.

Is there a way to manage rbenv per server?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants