This post originated from an RSS feed registered with Ruby Buzz
by Jonathan Weiss.
Original Post: Better Support for ActiveRecord in the Ports Tree
Feed Title: BlogFish
Feed URL: http://blog.innerewut.de/feed/atom.xml
Feed Description: Weblog by Jonathan Weiss about Unix, BSD, security, Programming in Ruby, Ruby on Rails and Agile Development.
Roderick van Domburg sent me a patch for the ActiveRecord FreeBSD port that lets you choose to depend on the native MySQL bindings.
I've updated the patch to support PostgreSQL and SQLite3 too. When you now install ActiveRecord or Rails through the FreeBSD ports tree you will see this screen:
You can choose support for the native bindings. The ports tree will install them for you and will remember the dependencies. If you want to change these settings just re-configure the port:
# cd /usr/ports/databases/rubygem-activerecord
# make config
I'm thinking about adding such options for www/rubygem-rails so that it can depend on www/ruby-fcgi. My goal is to get installing Rails on FreeBSD very easy.