Installing gem for jRuby

Hey all,

i’ve installed jRuby under /opt :
~/work/jRuby%> ls -al /opt

lrwxr-xr-x 1 root admin 17 21 jul 07:16 jruby ->
/opt/jruby-1.1RC3
drwxr-xr-x 12 root admin 408 21 jul 07:14 jruby-1.1RC3

added /opt/jruby/bin to my PATH

when I’ve added monkeybars gem, I’ve retrieved it under the ruby gem
not under jRuby gem.

as recommanded i’ve used this command line :

$ cd ~/jgems (where is my local gem repo)

$ sudo jruby -S gem install -l monkeybars

and even, if i list the gems by :

$ sudo jruby -S gem list -l

i get the ruby gems installed not the jRuby one.

what did i miss here ?

I’m using Mac OS X 10.4.11 (PPC) and jRuby :
$ jruby -v
ruby 1.8.6 (2008-03-18 rev 6255) [ppc-jruby1.1RC3]

yvon


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Sun, Jul 27, 2008 at 2:38 AM, Yvon T. [email protected]
wrote:

when I’ve added monkeybars gem, I’ve retrieved it under the ruby gem

$ sudo jruby -S gem list -l

i get the ruby gems installed not the jRuby one.

what did i miss here ?

Not sure, I’m not quite following you. You used ‘jruby -S gem’ to run
gem, but it appears you’re getting the gems installed into your
matzruby install? Do you have any environment variables set (like
GEM_HOME, GEM_PATH, JRUBY_HOME, etc.)?

/Nick


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

2008/7/28 Nick S. [email protected]:

Not sure, I’m not quite following you. You used ‘jruby -S gem’ to run
gem, but it appears you’re getting the gems installed into your
matzruby install? Do you have any environment variables set (like
GEM_HOME, GEM_PATH, JRUBY_HOME, etc.)?

yes, finally i had to unset GEM_HOME and GEM_PATH to get gems
installed under the jruby files hierarchy.


yvon


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

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