Archive for the ‘Ruby’ Category

gem install rjb on mac os x leopard

Saturday, February 2nd, 2008

If you’ve tried installing the rjb 1.1.x gem on Mac OS X Leopard, you will probably end up with an error like:


lipo: can’t open input file: /var/tmp//ccpyNy8b.out (No such file or directory)
make: *** [load.o] Error 1

In order to get around this you have to run the following commands:


sudo su -
export JAVA_HOME=’/System/Library/Frameworks/JavaVM.framework/Home’
gem install rjb

Ruby Technorati API Client

Sunday, December 9th, 2007

So as part of a pet project I decided to write a Ruby client for the Technorati API. There are several available requests that can be made and each has it’s own options to pass for things like the response format. I should mention there is also a Technorati-Ruby gem available that looks like it was written back in 2004 and weighs in at around 500 lines. Mine weighs in at 130 lines or so but doesn’t provide a response parser.

(more…)


Fox Holes

  • You are currently browsing the archives for the Ruby category.

Rabbit Holes

Chasms