[MacRuby-devel] loading a non-objc bundle (assertion failed!)

Joel Reymont joelr1 at gmail.com
Fri Jan 14 14:16:11 PST 2011


require './Beagle.bundle'

makes all the difference. Why?

ls -la Beagle.bundle 
-rwxr-xr-x  1 joelr  staff  21800 Jan 14 20:45 Beagle.bundle

file Beagle.bundle 
Beagle.bundle: Mach-O 64-bit bundle x86_64

On Jan 14, 2011, at 8:49 PM, Joel Reymont wrote:

> Not all is peachy :-(.
> 
> macirb -r beagle.rb 
> irb(main):001:0> bg_open(0)
> Assertion failed: (cache->as.fcall.imp != NULL), function rb_vm_dispatch, file dispatcher.cpp, line 766.
> Abort trap
> 
> cat beagle.rb 
> #!/usr/bin/env macruby
> 
> require 'Beagle'

---
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont







More information about the MacRuby-devel mailing list