Can't install JRuby-1.7.4

345 views
Skip to first unread message

Jabari Zakiya

unread,
May 19, 2013, 3:48:55 PM5/19/13
to rubyversi...@googlegroups.com
System:
Lenovo V570 laptop, Intel I5 64-bit cpu, 6 GB ram
PCLOS KDE-32bit, Linux 3.2.18 pae,btf kernel

RVM 1.20.10 (stable)

I tried to upgrade Jruby-1.7.3 to 1.7.4, and when I did, 1.7.3 was deleted from my system.
I then tried to install 1.7.4 and keep getting this message.

jzakiya@localhost ~ $ rvm --force install jruby-1.7.4
Searching for binary rubies, this might take some time.
Installing requirements for redhat, might require sudo password.
Installing required packages: java-1.7.0-openjdk. - using ZSH, can not show progress, be patient...
Error running 'requirements_centos_libs_install java-1.7.0-openjdk',
please read /home/jzakiya/.rvm/log/jruby-1.7.4/1368992383_package_install_java-1.7.0-openjdk.log

Why the reference to redhat, and why can't I make it install from the source code?

I've looked at all the notes and documentation I could find, and still can't install Jruby-1.7.4

I had no problem upgrading Ruby from 2.0.0-p0 to 2.0.0-p195, and also have installed rbx-2.0.0-rc1

Help!

mpapis

unread,
May 20, 2013, 10:06:08 AM5/20/13
to rubyversi...@googlegroups.com
please open a ticket for rvm: https://github.com/wayneeseguin/rvm/issues

if java / jdk is already installed you can install jruby with:

    rvm --autolibs=read-only install jruby

Jabari Zakiya

unread,
May 20, 2013, 10:52:29 AM5/20/13
to rubyversi...@googlegroups.com
Thanks! That allowed jruby-1.7.4 to finally install.

Since initially 1.7.3 had been deleted all my gems were deleted too, but that's no biggy.

This must be a bug, because I have upgraded jruby before with no problem as well as others.

Before I start adding gems back, I'm thinking of experimenting and do a reinstall to see if the
same problem occurs.  Would you like me to do that and give you the results to see if this issue
can be replicated and solved?


mpapis

unread,
May 21, 2013, 1:10:54 PM5/21/13
to rubyversi...@googlegroups.com
if you could poke around a bit that would be great, if you find anything please open a new ticket: https://github.com/wayneeseguin/rvm/issues
Reply all
Reply to author
Forward
0 new messages