> 2005/7/15, Jonathan Weiss <[EMAIL PROTECTED]>: >> Hi folks, >> >> >> I itegrated Rubygems (a package manager for Ruby libs and apps, think of >> Perl CPAN or PHP Pear) into the ports tree. >> >> The main port, devel/ruby-gems, gives you the management program (gem) and a >> module Makefile for all the gem-* ports. > > I've read it. I think you can find some ideas to enrich your port here: > > http://wiki.rubyonrails.com/rails/show/RailsOnOpenBSD > > I hope it gets committed [when the tree is unlocked] >
I will look into your suggestions and see what I can use, thanks. I already have several testing reports but I wait for the ruby update to 1.8.2 before I will send my updated patches. >> A rubygem module can then be installed like a normal port/package: >> >> # cd /usr/ports/devel/gem-rake && make install clean-depedens >> Or >> # pkg_add gem-rake-0.5.4.tgz > > I'm not sure about this. Why would I want to install a gem like a port > instead of > > # gem install rake > > ? > > unlike CPAN, gem offers a way to uninstall a gem. Because you can then depend on it. There are some ruby programs and libraries (like typo) that depend on installed gems like rake or rails. Further gems that depend on other non-gem libraries can depend on them too. The mysql-gem can than depend on the mysql-libs. Further you do not need to learn yet another management program. Just use the pkg/ports system and you are done. Greets, Jonathan -- Jonathan Weiss http://blog.innerewut.de