cucumber + yajl troubles (OSX Lion)

using rails 3.0.1 and cucumber-rails (~>1.1.0).. and got this weird error message:

so.. working solution is:

  • go to the gem itself ~/.rvm/gems/ruby-1.9.3-p0/gems/yajl-ruby-1.0.0/ext/yajl open  yajl_ext.h  and  yajl_ext.c  and change  inline void to static void
  • gmake clean all
  • overwrite yajl.bundle in lib/
example of edited yajl.h
voila! :)

Custom UINavigationBar with image and back button

source: http://www.developers-life.com/custom-uinavigationbar-with-image-and-back-button.html

How to get line number and file of your RoR code