[MacRuby-devel] [MacRuby] #474: Sinatra's get method not being registered

MacRuby ruby-noreply at macosforge.org
Mon Jan 4 16:48:29 PST 2010


#474: Sinatra's get method not being registered
------------------------+---------------------------------------------------
 Reporter:  cad@…       |        Owner:  lsansonetti@…        
     Type:  defect      |       Status:  closed               
 Priority:  trivial     |    Milestone:                       
Component:  MacRuby     |   Resolution:  invalid              
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by russm-trac-macports-org@…):

 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/>



More information about the MacRuby-devel mailing list