I kept getting a segmentation fault from abstract_adapter.rb when trying to connect to my controller – some people have reported success rolling back to MySQL 5.0, but if you want to use 5.1, try using the libmysql.dll from InstantRails:
http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRails/mysql/bin/libmySQL.dll
(via peterskim.org)
Archive : February 2010
26th February 2010
22nd February 2010
I’ve been fiddling with this little tagging experiment, which I’m pretentiously calling the Warwickshire News Mine, for a couple of weeks now. Essentially the plan was to scrape a bunch of news stories from the Warwickshire County Council website, and see if they could be tagged up automatically.
Initially it was just meant to be an [...]
14th February 2010
I’ve been working on a little project to scrape and automatically tag a load of content, and I found I needed to convert some website addresses in some text content that weren’t linked with anchor tags.
I tried this routine which is replicated in a few places, but I’ve found that if a link ends [...]
12th February 2010
Dreamhost, dammit. They seem to get a lot of criticism, but for my testing, fiddling purposes it’s more or less perfect – their shared hosting is cheap and they offer SSH access, and the ability to run Ruby apps alongside the usual PHP action.
But getting CodeIgniter to do clean URLs was a faff. Out [...]
Don’t tell me, you’ve just installed Wordpress on your local MAMP setup and it’s all gone wrong – you can no longer get to phpmyadmin and the MAMP setup page generally.
Check the root of your Mac hard disk – there should be a .htaccess file lurking there, with contents that include…
Options All -Indexes
# BEGIN WordPress
<IfModule [...]