Martin G├╝tlein wrote:
> Thanks a lot for your help.
> The contents command was a good idea:
> 
> $ gem contents shotgun
> /var/lib/gems/1.8/gems/shotgun-0.4/README
> /var/lib/gems/1.8/gems/shotgun-0.4/COPYING
> /var/lib/gems/1.8/gems/shotgun-0.4/Rakefile
> /var/lib/gems/1.8/gems/shotgun-0.4/shotgun.gemspec
> /var/lib/gems/1.8/gems/shotgun-0.4/lib/shotgun.rb
> /var/lib/gems/1.8/gems/shotgun-0.4/bin/shotgun
> 
> How come RubyGem uses this directory on my machine?

I expect you're running Debian or a Debian-based distro, e.g. Ubuntu.

The Debian people love to modify software when packaging it to fit their 
own ideas of where files should live, rather than the author's.

If you don't like it, you can 'apt-get remove rubygems' and then install 
rubygems from source. Or install the ruby enterprise edition .deb, which 
puts everything under /opt anyway.
-- 
Posted via http://www.ruby-forum.com/.