Archive for January, 2009

mysql Gem + MacPorts MySQL

January 25th, 2009

I always forget this… so this is as much a note for me as anything else.

Especially because I’m basically just lifting this info from here.

1
2
3
4
sudo gem install mysql -- \
--with-mysql-include=/opt/local/include/mysql5 \
--with-mysql-lib=/opt/local/lib/mysql5 \
--with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config

Despite what the linked website says, it appears that this command works on leopard just fine… no need for any changes.

Wordpress Tweaks

January 22nd, 2009

Well, I spent an hour or two last night uploading a couple of plugins and playing with the CSS on the site. It’s amazing what you can do with just wordpress.org and a couple of hours.

The theme is (heavily) based on Oulipo by Mignolo. Maybe someday I’ll do my own custom theme, but for now, this’ll do; I’d rather be working on my other sites.

Wordpress

January 21st, 2009

Switched this blog from Mephisto to Wordpress, not a big migration yet, as there were only three posts to move.

Nothing against Mephisto, but I’d like to focus my efforts on my other site, and use Wordpress for this because it works well, and has a ton of plugin support to get the functionality that I want.

Installing Nokogiri Gem On Ubuntu

January 19th, 2009

If you cannot install the nokogiri gem on ubuntu (required or recommended) for Mephisto.

You have to install two other libraries first that may or may not already be installed on your computer:

1
sudo apt-get install libxml2-dev libxslt1-dev

Simply installing libxml-ruby or libxml1 won’t satisfy the requirements.

Thanks to hightechsorcery.com for the info.

undefined method `cache_template_loading=’

January 19th, 2009

If you have recently upgraded rails and your site seems to work but your cron jobs for acts_as_xapian no longer work, check out this Rails Commit.

You have a deprecated method and may need to remove the following from your
config/environments/production.rb:

1
config.action_view.cache_template_loading            = true

andr3w.net

January 18th, 2009

Welcome to andr3w.net.

This site has a very simple purpose, in my free time I code my personal site, but that site is becoming more and more of a photoblog and less and less web development content seems relevant there (although I have always kept it to a minimum).

andr3w.net will be my second home on the web with information about my current effort with rails, (x)html, css, js, and whatever else I’m tinkering with at the time.

Check back soon for a restyling from the default Mephisto style and more content as free time allows.