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

chruby uses the same GEM_HOME for multiple TruffleRuby releases #1723

Closed
eregon opened this issue Jul 17, 2019 · 2 comments
Closed

chruby uses the same GEM_HOME for multiple TruffleRuby releases #1723

eregon opened this issue Jul 17, 2019 · 2 comments
Assignees
Labels

Comments

@eregon
Copy link
Member

eregon commented Jul 17, 2019

Which means it might reuse C extensions compiled on a different TruffleRuby version, which is very likely to not work.

Related to #1715 and postmodern/chruby#410.

Other Ruby managers seem not affected:

  • RVM uses a different GEM_HOME for each installed Ruby.
  • rbenv does not set the GEM_* environment variables AFAIK, and so installs gem under the Ruby's prefix.
@eregon
Copy link
Member Author

eregon commented Feb 1, 2020

Fixed in chruby in postmodern/chruby#419 but there is not yet a release a chruby containing the fix (cc @postmodern).

@eregon
Copy link
Member Author

eregon commented Mar 13, 2024

I close this because it is clearly chruby bug, nothing to change in truffleruby.

@eregon eregon closed this as completed Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant