Hello, I’m a student fairly new at ruby programming, and I’m having a
deal of trouble just to get Jruby running. I was wondering could you
help me figure out how to setup Jruby on window 7?
Here is the supporting information and What I have tried so far:
I followed the instruction at github for Jruby installation, install
and set the environmental variable to the following:
JAVA_HOME = C:\Program Files\Java\jdk1.7.0_60\bin
JRUBY_HOME = C:\Jruby\jruby-1.7.13\bin
When I tried to test some import java function using SubLime text
To start off small, the test program consist of only a single line of
I get the following error:
require': cannot load such file -- java (LoadError) from C:/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
from C:/RailsInstaller/Ruby Projects/practice notes.rb:257:in `’
Okay, I figure I just need to switch from ruby to Jruby via pik (since
window doesn’t have RVM equivalent)
When I try to add the path of Jruby via Pik using the following
c:\bin>pik add C:\Jruby\jruby-1.7.13\bin
There was an error.
Error: private method `gsub’ called for nil:NilClass
get_version' in: pik/commands/add_command.rb:23:inadd’
in: pik/commands/add_command.rb:13:in `execute’
I get the above error, the googled solution recommend I try to set the
environmental variable JAVA_HOME and JRUBY_HOME to their corresponding
paths. Which I already did before hand and that doesn’t see to help.
I tried uninstall and reinstall Jruby and Jdk several times, it did not
Is there a way a way to manually change the Jruby’s load path?
Please bear in mind, I’m a total noob at programming, so I’m not too
familiar with many technical terms. So If it’s possible, please simplify
be as specific as possible in your instruction. Such as specify where to
type what command, or at specify enough terms so I can google them on my
Thank you for your time
On the side notes, does Jruby share all the gems that were donwload by
ruby version? or do I need to duplicate all the gems file in Jruby’s
View this message in context:
Sent from the JRuby - User mailing list archive at Nabble.com.