#474: Sinatra's get method not being registered ------------------------+--------------------------------------------------- Reporter: c...@… | Owner: lsansone...@… Type: defect | Status: closed Priority: trivial | Milestone: Component: MacRuby | Resolution: invalid Keywords: | ------------------------+---------------------------------------------------
Comment(by russm-trac-macports-...@…): FYI: this is not a sinatra bug, but a problem with calling your test case {{{sinatra.rb}}} the load path by default includes {{{.}}} (the current directory) before the gem directory, so when you "{{{require 'sinatra'}}}" ruby (either MRI or MacRuby) just re-loads your test file and the actual sinatra framework in never loaded. try changing the name of your test case. -- Ticket URL: <http://www.macruby.org/trac/ticket/474#comment:2> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel