|Source Repository:||Gentoo Portage Tree|
Summary: Centralized Ruby extension management system
RSS/Atom SupportYou can now follow this news feed at http://www.funtoo.org/news/atom.xml .
Creating a Friendly Funtoo CultureThis news item details some recent steps that have been taken to help ensure that Funtoo is a friendly and welcoming place for our users.
CPU FLAGS X86CPU_FLAGS_X86 are being introduced to group together USE flags managing CPU instruction sets.
Ruby is a programming language with its own package management system to extend the language.
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 conflicting gems:
# emerge -C dev-ruby/rake dev-ruby/racc dev-ruby/json dev-ruby/rdoc
Flush conflicting 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.
To add gems to your path:
ruby on rails
# gem install rails # rails new testproject # cd testproject # bundle install
puma is a fast web server for ruby on rails.
To enable puma in your project:
To pull in puma:
# bundle install
to start puma:
# bundle exec puma
or if you added gems bin dir to your path