Package:Ruby

Revision as of 05:15, August 18, 2014 by Threesixes (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

dev-ruby/rubygems


Source Repository:Gentoo Portage Tree
Homepage

Summary: Centralized Ruby extension management system

Use Flags

server
Install support for the rubygems server

Ruby

Warning

this is a rough draft, and may need revision.

Rubygems is a package management system to extend the ruby language.

Gems are packaged wonky in portage so this page will explain how to work with rubygems rather than fight it. Arch wiki outlines a similar method.

https://wiki.archlinux.org/index.php/Ruby#RubyGems

Emerge ruby & rubygems:

#emerge ruby rubygems

Remove bunk gems:

#emerge -c dev-ruby/rake dev-ruby/racc dev-ruby/json dev-ruby/rdoc

Flush bunk gems bad specs:

#mv /usr/local/lib64/ruby/gems/2.1.0/specifications/ /usr/local/lib64/ruby/gems/2.1.0/specifications.backup


Fetch gems via rubygems:

#gem install rdoc rubygems-update

update gem system:

#update_rubygems
#gem update --system
#gem pristine --all

Now you're ready to use gem to manage gems. The reason this came about is that bundler can't be run with out conflicts.