Skip to content

init: pin Ruby interpreter in shell wrappers#120

Open
ipsavitsky wants to merge 1 commit into
tobi:mainfrom
ipsavitsky:main
Open

init: pin Ruby interpreter in shell wrappers#120
ipsavitsky wants to merge 1 commit into
tobi:mainfrom
ipsavitsky:main

Conversation

@ipsavitsky

Copy link
Copy Markdown

Use RbConfig.ruby to embed the absolute path of the current Ruby interpreter in the generated shell wrappers. This ensures the wrapper works in environments where Ruby is not on $PATH (such as NixOS).

Fixes #60

Use `RbConfig.ruby` to embed the absolute path of the
current Ruby interpreter in the generated shell wrappers.
This ensures the wrapper works in environments where
Ruby is not on `$PATH` (such as NixOS).
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

Successfully merging this pull request may close these issues.

nix home manager is broken: ruby is missing

1 participant