[MacRuby] #1294: MacRuby crashes when loading files on the non-main thread

MacRuby ruby-noreply at macosforge.org
Tue Jun 21 07:26:27 PDT 2011


#1294: MacRuby crashes when loading files on the non-main thread
------------------------------------+---------------------------------------
 Reporter:  mrada@…                 |       Owner:  lsansonetti@…         
     Type:  defect                  |      Status:  new                   
 Priority:  blocker                 |   Milestone:                        
Component:  MacRuby                 |    Keywords:  reduction 0.11-blocker
------------------------------------+---------------------------------------

Comment(by mrada@…):

 Yes, I meant to paste the reduction in here since it is smaller now. It
 still requires rspec and another gem be installed (I chose rest-cliet, but
 it crashes with other gems as well).

 First create a file called test.rb with the following contents:

 {{{
 Thread.new do
   require 'rest-client'
 end

 describe 'Something' do
   it 'should pass a test' do
     1.should == 1
   end
 end
 }}}

 Then, on the command line:

 {{{
 rspec test.rb
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1294#comment:6>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list