My patches have been commited. New rubygems can now be easily integrated into the FreeBSD ports tree.
The common Makefile in devel/ruby-gems handels the download and installation for the .gem file.
That means that the user is now able to manage gems through the ports tree and does not have to also use the gem command.
For example in order to install rails do:
# cd /usr/ports/www/rubygem-rails
# make install clean
And all the rubygems on which rails depends will be installed.
These rubygems-ports are available yet:
databases/rubygem-activerecord
mail/rubygem-actionmailer
devel/rubygem-rake
devel/rubygem-activesupport
www/rubygem-actionpack
www/rubygem-rails
www/rubygem-actionwebservice
www/rubygem-redcloth
www/typo
If you want to use the rubygem-* ports make sure to deinstall the manually installed gems before (not all of course, only those that would conflict with the ports version).
I also work on patches for OpenBSD and hope to get them integrated into OpenBSD 3.8.
