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 broken #963
Comments
@headius might be able to help with this. To me the first (1.5.6) looks like an error in the JDK itself. (Line 14 in the gist) (Looks like it crossed the boundary of the array's max element). @headius thats still the jdk itself right? Not us. We finished the build already. The second problem, with 1.6.7, could it be that somehow RVM's env settings are either being ignored or lost? (GEM_PATH etc are what I refer to) /cc @mpapis @bluescripts |
@deryldoucette Heres the output of my rvm gem env command:
Its missing Jruby though afaict Also when I do a rvm list:
|
FWIW I'd prefer to use the latest jruby (1.6.7) |
set -x rvm --trace output for jruby 1.6.7 http://bluescripts.net/jruby.txt Jruby 1.6.7 downloaded and untar'd from the website works fine: Inside .rvm/bin jruby 1.5.6 works and does the same, So 1.6.7.2 from jruby.org works and the same version that RVM downloads matches with the md5sum, and when I manually extract both (rvm's version and the jruby.org version) both pass the hello world test and work fine. |
@bluescripts I spoke with @headius about the issue and gave him the URL to your jruby.txt file for the
output. I copied the info from that file to a gist for inclusion here. He came into #rvm on freenode to speak with you to work on this, but you weren't around it seems. Please speak with him at your earliest convenience. Also, @headius made mention that one of the gems installed when jruby is installed may have some bad yaml that jruby 1.8 mode's yaml parser doesn't like. He was saying that if you use 1.9 mode you probably won't see this behaviour. (Seems the yecht yaml parser is not well-maintained anymore and is not used in 1.9 specifically) Please let me/us know if this helps at all. |
The first error is a JRuby bug for sure. The YAML engine is walking off some array. The second error is a bad install of JRuby. If the jruby.org tarballs are good (pretty sure they are) then rvm is unpacking them incorrectly or calling our |
The jar was indeed good (@headius showed me how to check) -- I also tried removing rvm completely and just install jruby, still the same issue. This is also happening on my Mac Pro (so two different macs). Also happens on my friends mbp as well. He did rvm get head and then ran rvm install jruby 1.6.7.2 and got the same error This DOES NOT happen on my Debian machine, everything installs fine on there. Same JDK (6), although its OpenJDK
I also tried using bash instead of zsh to run the install, still ran into the same issue. |
My .zshrc was fubar'd from a long time ago :( Apparently if you have $JRUBY_HOME set it will mess with that. Removing $JRUBY_HOME from my zshrc and reloading everything fixed it. Is there a way to scream at a user that they have this set when they install maybe? |
I chatted with @mpapis about this last night, but it appears rvm broke jruby installs in the latest HEAD
I've tried the default JDK 6 that comes with lion, and have tried JDK 7 and 8 as well from OpenJDK
Here is a sample stacktrace from trying to install 1.5.6 and 1.6.7:
https://gist.github.com/2702086
What other information do I need to provide?
I've also asked on #jruby and they were at a loss as well.
Java version:
rvm env:
$PATH:
The text was updated successfully, but these errors were encountered: