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

Travis-ci: Error parsing Gemfile on current jruby-head #4487

Closed
prasunanand opened this Issue Feb 13, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@prasunanand

The new jruby-head is unable to parse Gemfile correctly link. NMatrix has 4 different gemspecs. It is unable to load the Gemspec both on mac-os and ubuntu.

  1. https://travis-ci.org/SciRuby/nmatrix/jobs/198114642
  2. https://travis-ci.org/SciRuby/nmatrix/jobs/198114644
@headius

This comment has been minimized.

Show comment
Hide comment
@headius

headius Feb 13, 2017

Member

Hmm, that's peculiar. I took the source of that gemspec and ran it through jruby -c (check syntax) and it was fine. I also ran it through JRuby 1.7 in Ruby 1.8 and 1.9 modes, and they were also able to parse it.

Do you get this running tests locally? If not, it may be something peculiar happening on Travis. They have docs on how to set up a Docker image that matches the CI instances so you can investigate. At the moment I have no theory why it fails for you in Travis.

Member

headius commented Feb 13, 2017

Hmm, that's peculiar. I took the source of that gemspec and ran it through jruby -c (check syntax) and it was fine. I also ran it through JRuby 1.7 in Ruby 1.8 and 1.9 modes, and they were also able to parse it.

Do you get this running tests locally? If not, it may be something peculiar happening on Travis. They have docs on how to set up a Docker image that matches the CI instances so you can investigate. At the moment I have no theory why it fails for you in Travis.

@prasunanand

This comment has been minimized.

Show comment
Hide comment
@prasunanand

prasunanand Feb 13, 2017

The travis tests work fine with JRuby 9.0.5.0.link.
I find this error exclusive to current JRuby head (9.1.8.0)link

I will set up Docker Image and set up CI instances to investigate.

The travis tests work fine with JRuby 9.0.5.0.link.
I find this error exclusive to current JRuby head (9.1.8.0)link

I will set up Docker Image and set up CI instances to investigate.

@prasunanand

This comment has been minimized.

Show comment
Hide comment
@prasunanand

prasunanand Mar 12, 2017

Fixed with the current jruby-head :)
jruby 9.1.9.0-SNAPSHOT (2.3.1)

Fixed with the current jruby-head :)
jruby 9.1.9.0-SNAPSHOT (2.3.1)

@enebo enebo added this to the JRuby 9.1.9.0 milestone Mar 12, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment