Simple sinatra app:
require 'rubygems'
require 'sinatra'
get '/' do
"Hey"
end
Then:
$ ruby test.rb
And when I hit http://localhost:4567, it drops the connection and I get:
/usr/local/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin_parser.bundle: dlopen(/usr/local/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin_parser.bundle, 9): no suitable image found. Did find: (LoadError)
/usr/local/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin_parser.bundle: unknown required load command 0x80000022 - /usr/local/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin_parser.bundle
All gems are up-to-date. I am running ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.6.0]