Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

Always use the "from source" installation path for TruffleRuby#4708

Merged
pkuczynski merged 8 commits intorvm:masterfrom
eregon:always-use-source-truffleruby
May 30, 2019
Merged

Always use the "from source" installation path for TruffleRuby#4708
pkuczynski merged 8 commits intorvm:masterfrom
eregon:always-use-source-truffleruby

Conversation

@eregon
Copy link
Contributor

@eregon eregon commented May 30, 2019

TruffleRuby is a mix of "source" and "binary" Ruby in RVM terminology (#4297 (comment) for details).
So originally I added the "from source" code (#4406), and then later the "binary" code (#4456) as that's what TravisCI normally uses. However, the TravisCI code had to be modified anyway, so there is no need for handling TruffleRuby as a "binary" Ruby in RVM anymore.

I want to remove the code (which I added) for handling TruffleRuby as a "binary" Ruby. It's duplicating a fair bit of code, it does not work well, and introduces more ways to fail.
For example, one part which is fragile with binary rubies is for instance downloading with a timeout and trying all the remotes. I don't want that, I know exactly the one URL where TruffleRuby should be downloaded from for a given version.
Here are some issues that are all avoided by using the "source" installation path: #4633 #4497 #4506.

This PR effectively reverts #4456 and #4662, except a commit that is a pure refactoring (58251a9) and a commit adding behavior potentially useful when using rvm mount (e9d9c88).

cc @pkuczynski

@eregon eregon force-pushed the always-use-source-truffleruby branch from 2da1430 to 8d92d9e Compare May 30, 2019 11:48
@pkuczynski pkuczynski merged commit e01be52 into rvm:master May 30, 2019
@pkuczynski pkuczynski added this to the rvm-1.29.9 milestone Jun 19, 2019
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.

2 participants