Forum: Ruby gem installation

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
52a177e9dbd3e614825aabc4e45f8cd6?d=identicon&s=25 Mark Volkmann (Guest)
on 2006-01-08 16:03
(Received via mailing list)
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?
Bfcc9047bea80035a936648dc1912ec4?d=identicon&s=25 Gavin Sinclair (Guest)
on 2006-01-09 09:55
(Received via mailing list)
Mark Volkmann wrote:
> 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
This topic is locked and can not be replied to.