Rails question for ruby 1.9 / jruby 1.6

Hi,
I’m wondering about whether my rails installation just performed were
properly configured for ruby 1.9 . My concern stems from having
examined
the gems directory and seen only *1.8 *gems installed. Details now
follow:

Thanks to prior post I now have 1.9 as default version:

JRUBY_OPTS=–1.9

C:\jruby\lib\ruby\gems>jruby -v
jruby 1.6.0 (*ruby 1.9.2 *patchlevel 136) (2011-03-15 f3b6154) (Java
HotSpot™ Client VM 1.6.0_21) [Windows XP-x86-java]

After I did jgem install rails I see it is installed under 1.8. Is
this
correct? If not what other config tweak is needed to make it install 1.9
version?

(Note: *only *1.8 gems are there - *nothing *for 1.9…)
Directory of C:\jruby\lib\ruby\gems

04/08/2011 08:22 AM .
04/08/2011 08:22 AM …
04/08/2011 08:22 AM *1.8

At least the version of *rails *is correct :

C:\jruby\lib\ruby\gems>rails -v
Rails 3.0.6

It does seem a bit odd to have the same gems for 1.8 and 1.9, which
apparently it does.

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