gem installation

M

Mark Volkmann

I see that when I install a gem, it gets installed under
/usr/local/lib/ruby/gems/1.8/gems/{gem-name}.

What does the 1.8 represent?
Is it the version of Ruby required to use the gem?
Depending on what other gems I install, could I also have a
/usr/local/lib/ruby/gems/1.6 directory?
 
G

Gavin Sinclair

Mark said:
I see that when I install a gem, it gets installed under
/usr/local/lib/ruby/gems/1.8/gems/{gem-name}.

What does the 1.8 represent?
Is it the version of Ruby required to use the gem?
Depending on what other gems I install, could I also have a
/usr/local/lib/ruby/gems/1.6 directory?

If you used Ruby 1.6 to execute "gem install foo", then foo would be
installed in ".../ruby/gems/1.6/...". I'm pretty sure that's what the
1.8 means.

Except, that is, that "gem" requires Ruby 1.8 to run :)

Gavin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top