-
Notifications
You must be signed in to change notification settings - Fork 184
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
Support installing with ruby-build, ruby-install, RVM #1062
Comments
So what happened with the legal team and being able to get everything via |
For the moment you need to accept the licence and download from OTN, that's right. We're still working on being able to install via |
Huh, so they still won't even let you pull it in with Ie, for the |
I'm not sure |
RVM team is happy to add |
Thanks very much for the offer! Yes the problem is currently that the GraalVM is only available via a click-through licence on the OTN. At some point we hope to provide a download that doesn't need any kind of click-through. But this is a bit tricky - as the project lead, working for Oracle, I'm not looking for ways to work around this licence requirement. The issue was opened in your GitHub by a third party, @ylluminate, who's got great intentions in trying to get us into RVM, and we really appreciate it! But we're not looking to provide some kind of workaround for the click-through at the moment. I'm not sure there is any way to signal acceptance of the click-through for a non-interactive download, and even if there was it's not what I would encourage - that's not the intent of the OTN click-through. Sorry to be awkward! We hope to provide a simple non-click-through licence at some point at which point we can just plug that URL into RVM with your help. |
@pkuczynski There's also the option to build a GraalVM from scratch on the user's machine: All you need is to clone mx and graal-jvmci-8. Then, running |
@fniephaus The tricky bit with that approach is getting a correct base JDK on macOS. For Linux there is https://github.com/dougxc/openjdk8-jvmci-builder (There are some concerns some of it might be Ubuntu-specific though). Building JVMCI takes a while also. Using AdoptOpenJDK for base JDKs might be one option (they have builds for macOS too). FWIW https://github.com/oracle/truffleruby/blob/master/tool/make-distribution.sh can already make a full distribution including JVMCI, Graal, TruffleRuby and Sulong on Linux. |
And you also need to install LLVM and a non-system OpenSSL in some cases really... |
Having a precompiled binaries for all platforms would be ideal. Much faster installation on the end-user machine. I can make an attempt to install from sources, which can be used to always install |
@mpapis your thoughts on this topic? |
@chrisseaton so first I guess I have to ask, what's the difference between using So, since a Y/N license acceptance gate (specifically "Accept License Agreement / Decline License Agreement" as per above and on the site) is seemingly the primary goal for Oracle legal (not even display of the license; although a key could be bound for that), then wouldn't a shell based function that performs the exact same function ON the OTN page be in keeping with the OTN's intention? To me looking at this from the vantage point of "what's the real difference between We could effectively build an "OTN only browser" (sounds fancy this way) that makes it simple for the user by predefining current architecture (Linux, Mac OS X - not seeing Windows) and then making a: |
Maybe for the time being RVM could open browser with the proper link to accept the license and download the file, after that we would ask for the path of the newly downloaded file - of course this solves only problem for machines with graphical interface, it would not work on text only machines, but this would allow us to setup most of the process and when there is some compromise on the license - we could simplify the flow. |
Manual download is cumbersome. I would prefer something more user-friendly and at least build from source, as we do it for other rubies. |
I really appreciate everyone's enthusiasm and offers for help, but there's several complex issues here with any approach at the moment. I think we're better off waiting until we simply have a non-click through download, rather than doing work that hopefully won't be needed soon. |
Fair enough. Your project, your call :) Do you have ETA for this? |
(Good question @pkuczynski. I've seen "soon" be the death knell for some projects in the past as far as public interest goes.) |
I'll suggest something else if it doesn't happen in a couple of months. |
More documentation soon, but you can now install TruffleRuby without a click-through, so that's some progress.
|
I created PRs to ruby-install, ruby-build and RVM:
Those install a fully open-source version of TruffleRuby, corresponding to a subset of the Community Edition of GraalVM (see http://www.graalvm.org/downloads/). It's packed as a single archive (of around 42MB) to minimize the setup and make it more reliable to install truffleruby. |
I declare this issued solved! 🎉 All 3 pull requests have been merged in RVM, rbenv and ruby-install. They should all work out of the box. If you have problems installing TruffleRuby, please file an issue. |
Awesome, does it work on travis-ci yet? |
@ioquatix Yes, but it needs some install commands, see the README which links to https://github.com/oracle/truffleruby/blob/master/doc/user/standalone-distribution.md#testing-truffleruby-in-travisci |
rbenv, chruby and RVM are supported, documented and tested, but you need to download GraalVM manually. We'd like them to be able to download TruffleRuby for you as well.
The text was updated successfully, but these errors were encountered: