#808: sinatra does not load
------------------------------+---------------------------------------------
Reporter: macr...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: critical | Milestone:
Component: MacRuby | Keywords:
------------------------------+---------------------------------------------
Comment(by macr...@…):
Using sinatra master (for caller fix) and yesterday's nightly (for
Rack.release fix), I am still unable to get a simple sinatra app working:
{{{
$ cat test.rb
require 'rubygems'
require 'sinatra'
get '/' do
'hi'
end
$ macruby test.rb
== Sinatra/1.0 has taken the stage on 4567 for development with backup
from WEBrick
[2010-07-24 19:02:49] INFO WEBrick 1.3.1
[2010-07-24 19:02:49] INFO ruby 1.9.2 (2008-06-03) [universal-darwin10.0]
[2010-07-24 19:02:49] INFO WEBrick::HTTPServer#start: pid=92127 port=4567
Assertion failed: ((b->flags & flags) == (flags & ~VM_BLOCK_THREAD)),
function rb_vm_prepare_block, file dispatcher.cpp, line 1341.
Abort trap
}}}
Not sure if webrick is supposed to work, that might be the issue.
--
Ticket URL: <http://www.macruby.org/trac/ticket/808#comment:6>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel