|Source Repository:||Gentoo Portage Tree|
Summary: Centralized Ruby extension management system
- Install support for the rubygems server
Newsletter, Volume 1Discussed: ati-drivers, GitHub integration, Funtoo on ARM, GNOME updates, Organizations, and two new devs.
New Media Mix-insFuntoo Linux now has new media mix-ins. Learn about them and how to use them.
The Many Builds of Funtoo LinuxWe now have lots of different builds of Funtoo Linux for various CPUs, as well as Hardened, Stable and ARM, and a new UI to browse them. Learn more here.
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.
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 json rake racc
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.
ruby on rails
#gem install rails #rails new testproject #cd testproject #bundle install