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.
