Cannot add latest jruby
trying to add the latest jruby
uru admin add c:\Dominic\rubies\jruby-9.1.0.0\bin\
I get the following error:
---> Unable to register c:\Dominic\rubies\jruby-9.1.0.0\bin\jruby.exe
due to missing ruby info
Comments (9)
-
repo owner -
repo owner - changed status to closed
Closing. If this remains an issue for you, reopen and we'll figure out a fix.
-
FYI - I was having exactly the same "missing ruby info" problem when trying to add jruby. I had just installed Java, and had not restarted my Windows command shell (cmd.exe), so JAVA_HOME was not set. Starting a new command shell resolved this problem:
C:\bin>uru admin add c:\jruby-9.1.2.0\bin ---> Unable to register `c:\jruby-9.1.2.0\bin\jruby.exe` due to missing ruby info C:\bin>uru ver uru v0.8.1 [windows/386 go1.5.2] C:\bin>cd \jruby-9.1.2.0\bin C:\jruby-9.1.2.0\bin>jruby --version Cannot find Java 1.5 or higher. C:\jruby-9.1.2.0\bin>set ... HOMEDRIVE=C: HOMEPATH=\Users\wayne LOCALAPPDATA=C:\Users\wayne\AppData\Local ... Note JAVA_HOME not set above OPENED A NEW COMMAND WINDOW HERE C:\jruby-9.1.2.0\bin>jruby --version jruby 9.1.2.0 (2.3.0) 2016-05-26 7357c8f Java HotSpot(TM) 64-Bit Server VM 25.92-b14 on 1.8.0_92-b14 +jit [mswin32-x86_64] C:\jruby-9.1.2.0\bin>uru admin add c:\jruby-9.1.2.0\bin ---> Registered jruby at `c:\jruby-9.1.2.0\bin` as `912` C:\jruby-9.1.2.0\bin>set ... HOMEDRIVE=C: HOMEPATH=\Users\wayne JAVA_HOME=c:\program files\java\jre1.8.0_92 ...
-
The issue has also come up with my configuration:
- Windows XP
- uru v0.8.3 [windows/386 go1.7.3]
When trying to add Ruby-2.3-p222
> uru admin add C:\ProgLang\Ruby-2.3\bin ---> Unable to register `C:\ProgLang\Ruby-2.3\bin\ruby.exe` due to missing ruby info
Please reopen the issue or tell me/us how to avoid it.
-
repo owner I'll look into it and reopen the issue. That said, I've had no issues with
uru
supporting your ruby version. -
repo owner I cannot repro your issue on my Win8.1 x64 machine with ruby-2.3.
This was a jruby isssue and you do not appear to be using jruby. Open a new issue showing the output of
echo %PATH%
and summarizing any other relevant system setup. -
Hello Jon, please specify what you are referring to by "relevant system setup" besides
echo %PATH%
and what I already mentioned above (uru version, Ruby version, Windows version)I'll try more variations to see if I get any differing results.
-
It is probably because Ruby 2.3 does not run at all yet on this machine. (Because the standard RubyInstaller does not work an XP)
-
repo owner @sunito try extracting ruby to
C:\ProgLang\Ruby-2.3\
using one of rubyinstaller's .7z archives,cd
toC:\ProgLang\Ruby-2.3\bin
and typeruby --version
. If it works, tryuru admin add C:\ProgLang\Ruby-2.3\bin
again. - Log in to comment
I'm not able to reproduce it. What version of
uru
and Windows are you using?I also installed jruby to a dir similar to yours and could not repro