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

Could not install and use jruby-9.0.0.0-rc1 #3458

Closed
thehappycoder opened this issue Jul 8, 2015 · 2 comments
Closed

Could not install and use jruby-9.0.0.0-rc1 #3458

thehappycoder opened this issue Jul 8, 2015 · 2 comments
Milestone

Comments

@thehappycoder
Copy link

  1. Installed it with some effort. I had to edit /home/idnet/.rvm/scripts/functions/hooks/jruby function "jruby_ngserver_is_running":
    \command \ps auxww | rvm_grep 'org.jruby.main.NailServerMain' >/dev/null
    instead of
    \command \ps auxww | rvm_grep '[c]om.martiansoftware.nailgun.NGServer' >/dev/null

And got some error messages about gem pristine something...

  1. To use jruby I had to install nailgun first

$ ruby --version
error: ng executable not found; run 'make' in /home/idnet/.rvm/rubies/jruby-9.0.0.0.rc1/tool/nailgun

But "make" alone didn't work.

Had to configure first:
cd /home/idnet/.rvm/rubies/jruby-9.0.0.0.rc1/tool/nailgun
./configure
make

  1. Then finally use it

$ rvm use jruby-9.0.0.0.rc1

But still, for some reason, jruby doesn't start nailgun automatically (but it's supposed to) and says "connect: Connection refused".

Make sure that nailgun server is running:
$ ps aux | grep "org.jruby.main.NailServerMain"
If not, I run it manually:
$ ( JRUBY_OPTS='' jruby --ng-server 2>&1 > /dev/null )&

@garysweaver
Copy link

Note that JRuby 9.0.0.0 is available now. At the moment, you need to be using the development version of RVM to access it, but that will change soon I think.

@havenwood
Copy link
Member

This still requires rvm get master at the moment but as mentioned will work soon on stable after the forthcoming release.

@pkuczynski pkuczynski modified the milestone: rvm-1.27.0 Nov 8, 2016
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

4 participants