From owner-freebsd-ports@FreeBSD.ORG Sat May 7 16:30:51 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D043A16A4DB for ; Sat, 7 May 2005 16:30:51 +0000 (GMT) Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.18.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id C226B43DA6 for ; Sat, 7 May 2005 16:30:50 +0000 (GMT) (envelope-from jw@innerewut.de) Received: (qmail 10151 invoked from network); 7 May 2005 16:30:49 -0000 Received: from unknown (HELO [192.168.0.200]) (068076@[85.178.219.110]) (envelope-sender )AES256-SHA encrypted SMTP for ; 7 May 2005 16:30:49 -0000 Message-ID: <427CED35.10508@innerewut.de> Date: Sat, 07 May 2005 18:30:45 +0200 From: Jonathan Weiss User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: knu@FreeBSD.org, ports@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Ruby ports/gems in FreeBSD X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2005 16:30:51 -0000 Hi! I'm a ruby and FreeBSD user and I've made some patches to update ruby-mysql, ruby-fcgi and ruby-sqlite. Further I'm working a lot with ruby-gems. The problem is, that installing gems is independent from the ports tree. My goal is to combine ruby-gems and the ports tree like done for PHP Pear or Perl CPAN. For example I use Ruby on Rails (www.rubyonrails.com). Rails is distributed as a gem with gem-dependencies. I already made some ports of the dependencies as non-gems (that means that they install into /usr/local/lib/ruby/site_ruby/1.8/). But these ports are independant of ruby-gems. You can find my patches and the already finished non-gem ports here: http://blog.innerewut.de/articles/2005/05/06/ruby-on-rails-and-the-freebsd-ports My first idea of combining ruby-gems and the ports tree is having ports like www/gem-rails. This port would depend on ruby-gems and would install into /usr/local/lib/ruby/gems/1.8/gems/ What do you think? Greets, Jonathan -- Jonathan Weiss jw@innerewut.de http://blog.innerewut.de