[MacRuby-devel] Core Dump When Importing 3rd Party gems
jballanc at gmail.com
Wed Nov 14 10:10:56 PST 2012
The gems you reference include C extensions, which are *mostly* supported by MacRuby, but there are bound to be a few bugs. Do you have crash logs for these failures? If so, would you mind filing a Github issue with the crash logs attached (or linked as a Gist)?
On Sunday, October 28, 2012 at 10:22 AM, Templeton Jason wrote:
> I've been having some problems importing 3rd party gems.
> Basically, this is what happens
> framework 'Foundation'
> framework 'ScriptingBridge'
> framework 'cocoa'
> puts "Hola"
> require "rubygems"
> puts "Imported rubygems"
> require "mechanize"
> puts "Imported mechanize..."
> I will get a Segmentation Fault when I import mechanize, this also happens if I replace the import of mechanize with 'nokogiri'. I can import sqlite3, but I just can't refer to SQLite3::Database.new, otherwise, I get another Segmentation Fault
> In other words, I will see from the above code:
> Imported rubygems
> Segmentation fault
> This is my setup
> [ jtempleton macruby_client(master) 01:11 ] macruby -v
> MacRuby 0.12 (ruby 1.9.2) [universal-darwin10.0, x86_64]
> Mac Version 10.6.8, 2Ghz Core i7, 8GB RAM
> $ macgem list
> ** LOCAL GEMS **
> mechanize (2.5.1)
> nokogiri (1.5.2, 1.5.0, 188.8.131.52)
> sqlite3 (1.3.5)
> sqlite3-ruby (1.3.3)
> I was also having the same thing occur on macRuby 0.11
> Any suggestions would be greatly appreciated. Thank you!!!
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org (mailto:MacRuby-devel at lists.macosforge.org)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MacRuby-devel