Posts Tagged ‘gem’

photogriffy updated to v0.2

February 10th, 2009

photogriffy.net was upgraged to v0.2, this is a pretty major update. I’ve changed the backend to be based entirely on the Flickr API. I was able to crank it all out with rails and the flickraw gem over the course of a few hours. There are still a lot of features I want to add and a bunch of formatting to do, but the site works as it stands. Rails truly is an amazing prototyping framework.

This is part of a larger update to the way I post my photos to the web. It’s getting a bit scattered with some photos posted to AMDavidson.com, some to AMDavidson.me, some to Flickr, and even a few to Twitpic with very little planning or organization.

So, I’m now working towards putting everything on Flickr and then basing my other websites on that content so the content is unified between the sites and doesn’t require bouncing around the web to places unknown to see it all.

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.

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.