[JRuby & NetBeans] 1.9 mode cannot find the gems

View: New views
2 Messages — Rating Filter:   Alert me  

[JRuby & NetBeans] 1.9 mode cannot find the gems

by Cranegger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


By JVM option I am setting 1.9 mode


Code:
-Djruby.compat.version=RUBY1_9



Unfortunately when I am using


Code:
require 'active_record'



I get an error that interpreter cannot find a file. When I am removing JVM option, gems are loading corectly. How to install gems in NetBeans for JRuby working in 1.9 mode?






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: [JRuby & NetBeans] 1.9 mode cannot find the gems

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Seems like a problem with JRuby - I noticed you already posted this to
jruby@users too, so let's hope someone replies there.

Erno

Cranegger wrote:

> By JVM option I am setting 1.9 mode
>
>
> Code:
> -Djruby.compat.version=RUBY1_9
>
>
>
> Unfortunately when I am using
>
>
> Code:
> require 'active_record'
>
>
>
> I get an error that interpreter cannot find a file. When I am removing JVM option, gems are loading corectly. How to install gems in NetBeans for JRuby working in 1.9 mode?
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...