I’m not quite sure why this happened, but I kept getting this error with Leopard and sqlite3: LoadError: no such file to load — sqlite3 I tried to gem install and uninstall sqlite3-ruby a few times but that didn’t work out. However, installing from source did. Head on over to the Rubyforge page and download [...]
Innovation in Ruby
by Jason on 08. Aug, 2008 in Ruby
Just got done doing a presentation with Gregg Pollack at the Ruby Hoedown. The talk was on Innovation in Ruby in the last year. You can grab a cheat sheet over on the Rails Envy web site. Delicious Digg This Post Facebook Reddit This Post
Backpack Ruby Script
by Jason on 22. Jul, 2008 in Ruby
Each week I edit the Rails Envy podcast. We use Backpack to work together on the stories each week. Each story is a note in the Backpack page: Today while I was preparing the post, I remembered that Backpack had an API. A quick google turned up the Backpack API page with a link to [...]
Hpricot and utf-8
by Jason on 18. Mar, 2008 in Ruby
I tried to use Hpricot to parse a page with special characters in a utf-8 encoding. The docs tell you to do this: require ‘rubygems’ require ‘open-uri’ require ‘hpricot’ doc = Hpricot(open("http://url/")) However, this won’t give you the output you want. The open method on Open-URI leaves the output in the default character set [...]
About




