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

Feature: Install recent JRuby on Ruby VM #5733

Closed
bf4 opened this issue Mar 3, 2016 · 7 comments
Closed

Feature: Install recent JRuby on Ruby VM #5733

bf4 opened this issue Mar 3, 2016 · 7 comments

Comments

@bf4
Copy link

bf4 commented Mar 3, 2016

Feature Request: Install recent JRuby on Ruby VM

Background

I'd like to run a recent JRuby release against Rails 5 but per https://docs.travis-ci.com/user/languages/ruby/#Supported-Ruby-Versions-and-RVM only the 1.7 series is pre-installed in the VM. (Even the precompiled binaries still need to be downloaded and installed: http://rubies.travis-ci.org/ubuntu/12.04/x86_64/jruby-9.0.4.0 )

I'd make a PR to help if I knew where to make it and what was required. e.g, jruby-9000 still resolves to the jruby-9.0.0.0.pre1 release.

Build Examples

screen shot 2016-03-02 at 9 14 43 pm

screen shot 2016-03-02 at 9 16 10 pm

screen shot 2016-03-02 at 9 17 51 pm

I see that ls /home/travis/.rvm/gems has

cache   ruby-1.8.7-head   ruby-2.1.2@global
jruby-1.7.19-d18   ruby-1.8.7-head@global  ruby-2.1.3
jruby-1.7.19-d18@global    ruby-1.8.7-p374   ruby-2.1.3@global
jruby-1.7.19-d19   ruby-1.8.7-p374@global  ruby-2.1.4
jruby-1.7.19-d19@global    ruby-1.9.2-p330   ruby-2.1.4@global
jruby-9.0.0.0.pre1   ruby-1.9.2-p330@global  ruby-2.1.5
jruby-9.0.0.0.pre1@global  ruby-1.9.3-p551   ruby-2.1.5@global
jruby-9.0.4.0   ruby-1.9.3-p551@global  ruby-2.2.0
jruby-9.0.4.0@global   ruby-2.0.0-p598   ruby-2.2.0@global
ree-1.8.7-2012.02   ruby-2.0.0-p598@global
ree-1.8.7-2012.02@global   ruby-2.1.2

but I'm not sure the relationship between gemsets being present and the binary being available on the VM.

@bf4
Copy link
Author

bf4 commented Mar 9, 2016

It appears 9.0.5.0 is now available from the travis precompiled rubies but they are not used. ref: rails/rails#23499 (comment)

@BanzaiMan
Copy link
Contributor

@bf4 Where's the build that shows it's not used? Seems that the Rails PR has had some forced pushes that hides things.

@bf4
Copy link
Author

bf4 commented Mar 9, 2016

@BanzaiMan this is true re: force pushes.. I'm just trying stuff. Here's one https://travis-ci.org/rails/rails/jobs/114197771

screen shot 2016-03-09 at 3 36 15 am

@bf4
Copy link
Author

bf4 commented Mar 9, 2016

And my rvm futzing isn't working https://travis-ci.org/rails/rails/jobs/114732815

screen shot 2016-03-09 at 3 38 21 am

screen shot 2016-03-09 at 3 39 59 am

@bf4
Copy link
Author

bf4 commented Mar 9, 2016

( @BanzaiMan The goal of the PR is to have a recent JRuby that installs super quick, like the ones pre-installed on the VM, or quick download, use binary, no gemsets, recent bundler etc.)

(going to sleep now 💤, I'll be back online in x hours)

@bf4
Copy link
Author

bf4 commented Mar 30, 2016

(The --verbose thing turned out to be something in Rake fixed in >= 0.11.1 ruby/rake#120 jruby/jruby#3653 (comment) )

@stale
Copy link

stale bot commented Apr 14, 2018

Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues

@stale stale bot added the stale label Apr 14, 2018
@stale stale bot closed this as completed Apr 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants