What's the deal with rubygems on Debian? It's different and strange.

Posted by JSW on Stack Overflow See other posts from Stack Overflow or by JSW
Published on 2010-05-17T05:18:32Z Indexed on 2010/05/17 5:20 UTC
Read the original article Hit count: 191

Filed under:
|
|
|

I've noticed at least the following oddities around rubygems on Debian (5.0 lenny in my case):

  • Packages go into a different installation location: /var/lib/gems vs /usr/lib/ruby/gems
  • The debian package is rubygems 1.3.6, and updating rubygems to the latest version (1.3.7) doesn't work:
  $ sudo gem update --system
  ERROR:  While executing gem ... (RuntimeError)
    gem update --system is disabled on Debian. RubyGems can be updated using the official Debian repositories by aptitude or apt-get.
  • Not all gems appear to work like they do on other systems. For instance, when installing Phusion Passenger, it did not detect the "rack" gem even though it was definitely installed.
  • Manually installing rubygems using the source tarball and reinstalling all my gems (to /usr/lib/ruby/gems) made my problems go away.

What's the deal? Why is debian's package different?

© Stack Overflow or respective owner

Related posts about ruby

Related posts about debian