Hi everybody,
I am begginer in ruby and for learning I am using eclipse IDE. As I said
it in subject title, when I write require ‘java’ I get error – in
`gem_original_require’: no such file to load—java (LoadError)
I tryed with command include Java but it didn’t help either. Error is
“uninitialized constant Java (NameError)â€. I guess it’s because I wasn’t
able to load java earlier.
I also tryed it in fxri, but errors are the same.
I know this is probably very small problem. Thank you in advance. Maja
Hi,
Most probably, you’re using not JRuby, but the standard C-Ruby. If I
remember correctly, Eclipse allows to set up the default interpreter
in the settings, and I bet that C-Ruby is set there, not JRuby.
Thanks,
–Vladimir
On Thu, Oct 1, 2009 at 12:07 PM, Maja V. [email protected]
wrote:
Posted via http://www.ruby-forum.com/.
To unsubscribe from this list, please visit:
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Hi Vladimir,
your were totally right… RubyVM was set to RUBY, not JRUBY. After
setting it to JRuby it finally worked. Thank you sooooo much for helping
me. Maja