Re: Jruby using 1.8.7 or 1.9.2


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

re: the gems under 1.8. I noticed this (and posted about it) a few
weeks
back, and did not get it resolved. I had posted that the ruby version
being
returned by jruby -v was coming back as 1.9.2 - but even so … and after
rails installed … no gems under 1.9 only 1.8

Jruby and RoR are surprisingly difficult to get running properly.

2011/5/7 Tim F. [email protected]

On Sun, May 8, 2011 at 4:31 AM, Stephen B. [email protected]
wrote:

jruby process, and we’re not testing in 1.9 mode, yet, so I can’t tell you


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

How do i set JRUBY_OPTS on windows. I tried below but as you can see it
errors.

C:\Documents and Settings\renshaw>export JRUBY_OPTS=–1.9
‘export’ is not recognized as an internal or external command,
operable program or batch file.

Sayth

set instead of export

2011/5/7 Sayth R. [email protected]

On Sun, May 8, 2011 at 9:47 AM, Stephen B. [email protected]
wrote:

rails installed … no gems under 1.9 only 1.8


To unsubscribe from this list, please visit:
‘export’ is not recognized as an internal or external command,

Thanks

C:\Documents and Settings\renshaw>set JRUBY_OPTS=–1.9

C:\Documents and Settings\renshaw>jruby -v
jruby 1.6.1 (ruby-1.9.2-p136) (2011-04-12 85838f6) (Java HotSpot™
Client VM 1
.6.0_25) [Windows XP-x86-java]

C:\Documents and Settings\renshaw>

Sayth

On Sun, May 8, 2011 at 4:31 AM, Stephen B. [email protected]
wrote:

jruby process, and we’re not testing in 1.9 mode, yet, so I can’t tell you


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

@Stephen after changing JRUBY_OPTS you are right it does still attempt
to install and update gems into 1.8.

Sayth

not all gems are compatible with 1.9 so it is better to stay under 1.8

but … when installing rails … is this “expected” that ALL of the gems
go
under 1.8? let’s try to distinguish between what is “better to do”
versus
what is “working incorrectly”. That is: are the rails gems supposed to
be
going under 1.8 when we are running jruby 1.9? My instincts say no…
or at
least this seems questionable.

2011/5/11 Mauro [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs