wayneeseguin/rvm — Issue #525: jruby 1.3.1 binary archive changed?
Author: midwire
Created: 2011-10-25 17:53:06+00:00
State: open

Using RVM 1.8.6, I need to install jruby-1.3.1. Here are my commands and output:

$ rvm install jruby-1.3.1
jruby-1.3.1 - #fetching
jruby-1.3.1 - #extracting jruby-bin-1.3.1 to /Users/midwire/.rvm/src/jruby-1.3.1
jruby-1.3.1 - #extracted to /Users/midwire/.rvm/src/jruby-1.3.1
Building Nailgun
ERROR: Error running 'builtin cd "/Users/midwire/.rvm/src/jruby-1.3.1/tool/nailgun" && ./configure --prefix=/Users/midwire/.rvm/rubies/jruby-1.3.1 && make -j 3', please read /Users/midwire/.rvm/log/jruby-1.3.1/nailgun.log

The `/Users/midwire/.rvm/log/jruby-1.3.1/nailgun.log` logfile contains:

[2011-10-25 12:33:31] builtin cd "/Users/midwire/.rvm/src/jruby-1.3.1/tool/nailgun" && ./configure --prefix=/Users/midwire/.rvm/rubies/jruby-1.3.1 && make -j 3
/Users/midwire/.rvm/scripts/functions/utility: line 159: ./configure: No such file or directory

What appears to be happening is that RVM downloads the `jruby-bin-1.3.1.tar.gz` file, unpacks it into `~/.rvm/src/jruby-1.3.1`, changes to the `/Users/midwire/.rvm/src/jruby-1.3.1/tool/nailgun` directory, and tries to run `./configure`, which does not exist in that directory.

I am wondering if the `jruby-bin-1.3.1.tar.gz` archive file changed from having a `./configure` to generate the Makefile, to now just having a simple Makefile already included. Clearly it wants to try and build nailgun but is going about it the wrong way for the files that are contained there. All it would have to do is `make ng`.

Is this caused by an RVM bug or a change to the jruby archive? Should I be trying something locally to fix this?