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

JRuby install of 9.1.5.0 takes ages #22

Closed
perlun opened this issue Sep 13, 2016 · 6 comments
Closed

JRuby install of 9.1.5.0 takes ages #22

perlun opened this issue Sep 13, 2016 · 6 comments

Comments

@perlun
Copy link

perlun commented Sep 13, 2016

It takes 102.94s:

$ rvm use jruby-9.1.5.0 --install --binary --fuzzy
Unknown ruby string (do not know how to handle): jruby-9.1.5.0.
Unknown ruby string (do not know how to handle): jruby-9.1.5.0.
jruby-9.1.5.0 is not installed - installing.
Unknown ruby string (do not know how to handle): jruby-9.1.5.0.
Unknown ruby string (do not know how to handle): jruby-9.1.5.0.
Searching for binary rubies, this might take some time.
Unknown ruby string (do not know how to handle): jruby-9.1.5.0.
Unknown ruby string (do not know how to handle): jruby-9.1.5.0.
Found remote file https://s3.amazonaws.com/jruby.org/downloads/9.1.5.0/jruby-bin-9.1.5.0.tar.gz
Checking requirements for ubuntu.
Requirements installation successful.
jruby-9.1.5.0 - #configure
Unknown ruby string (do not know how to handle): jruby-9.1.5.0.
jruby-9.1.5.0 - #download
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 30.3M  100 30.3M    0     0  39.8M      0 --:--:-- --:--:-- --:--:-- 39.8M
No checksum for downloaded archive, recording checksum in user configuration.
jruby-9.1.5.0 - #validate archive
jruby-9.1.5.0 - #extract
jruby-9.1.5.0 - #validate binary
jruby-9.1.5.0 - #setup
jruby-9.1.5.0 - #gemset created /home/travis/.rvm/gems/jruby-9.1.5.0@global
jruby-9.1.5.0 - #importing gemset /home/travis/.rvm/gemsets/jruby/global.gems................................................................................
jruby-9.1.5.0 - #generating global wrappers........
jruby: warning: unknown property jruby.cext.enabled
jruby-9.1.5.0 - #uninstalling gem rubygems-bundler-1.4.4.
jruby-9.1.5.0 - #gemset created /home/travis/.rvm/gems/jruby-9.1.5.0
jruby-9.1.5.0 - #importing gemset /home/travis/.rvm/gemsets/default.gems.....................
jruby-9.1.5.0 - #generating default wrappers.......chown: changing ownership of `/home/travis/.rvm/user/installs': Operation not permitted
Using /home/travis/.rvm/gems/jruby-9.1.5.0
$ rvm --version
rvm 1.26.10 (latest-minor) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]

Any suggestions? I read somewhere that you can install some apt-get addon that makes it somewhat faster but it's still ages slower than installing the MRI/prebuilt versions.

@perlun
Copy link
Author

perlun commented Sep 19, 2016

Anyone has ideas on this? It's really frustrating. /cc @mpapis

joepvd added a commit that referenced this issue Sep 21, 2016
@BanzaiMan
Copy link
Contributor

@perlun I'm guessing that this is a different manifestation of https://github.com/jruby/jruby/wiki/FAQs#why-is-jruby-so-slow-to-install-via-rvm. I'll take a look at making HAVEGED available to the containers.

@BanzaiMan
Copy link
Contributor

This is not a travis-rubies issue, though. Please open a new ticket in https://github.com/travis-ci/travis-ci/issues. Thanks.

@perlun
Copy link
Author

perlun commented Oct 4, 2016

Thanks @BanzaiMan, I also was informed (by the Travis support) that you did a bit of work on this here: travis-ci/docs-travis-ci-com#743

Will continue the discussion there.

@nateberkopec
Copy link

I'm confused. jruby-9.1.5.0 is listed as precompiled, but it clearly isn't?

@BanzaiMan
Copy link
Contributor

BanzaiMan commented Nov 20, 2016

It's pre-compiled, but not pre-installed.

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

3 participants