Re: [MacRuby-devel] Core Dump When Importing 3rd Party gems

2012-11-14 Thread Joshua Ballanco
Hi Jason,

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)?

Thanks,

Josh


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
> 
> #!/usr/local/bin/macruby
> 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:
> Hola
> 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, 1.4.3.1)
> 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!!!
> 
> Jason
> 
> ___
> MacRuby-devel mailing list
> [email protected] (mailto:[email protected])
> http://lists.macosforge.org/mailman/listinfo/macruby-devel
> 
> 


___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macruby-devel


Re: [MacRuby-devel] Core Dump When Importing 3rd Party gems

2012-11-14 Thread J Silver
Not sure if this will fix, but I see you are running 0.12. That's way 
old. You should upgrade to nightly latest 0.13. Still, don't hear many 
reports of C extensions working beyond the initial Nokogiri, so this is 
something I too would like to see fixed.


Thanks,
jsilver


On 14/11/2012 10:10, Joshua Ballanco wrote:

Hi Jason,

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)?


Thanks,

Josh

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

#!/usr/local/bin/macruby
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:
Hola
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, 1.4.3.1)
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!!!

Jason

___
MacRuby-devel mailing list
[email protected] 


http://lists.macosforge.org/mailman/listinfo/macruby-devel




___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macruby-devel


___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macruby-devel


Re: [MacRuby-devel] New Version of GlobalChat2 Pro on App Store

2012-11-14 Thread Joshua Ballanco
Awesome job! Congrats!

On Friday, November 9, 2012 at 7:52 AM, J Silver wrote:

> Thanks Mark! I will have a look.
> 
> On 08/11/2012 21:20, Mark Villacampa wrote:
> > Nice!! Good work. 
> > 
> > Looking forward to the report on the current status of Ruboto :) 
> > 
> > Another possible windows-linux cross platform could be QtRuby 
> > http://en.wikipedia.org/wiki/QtRuby 
> > 
> > 
> > 
> > --  
> > Mark Villacampa
> > Twitter: @MarkVillacampa
> > 
> > 
> > On Friday, November 9, 2012 at 6:16 AM, J Silver wrote:
> > 
> > > GlobalChat
> > > 
> > > https://itunes.apple.com/us/app/globalchat-2-pro/id566614902?ls=1&mt=12 
> > > 
> > > https://itunes.apple.com/us/app/globalchat-server/id566163288?ls=1&mt=12 
> > > 
> > > Written in 100% MacRuby! 
> > > 
> > > Source code: https://github.com/jsilverMDX/GlobalChat2 
> > > 
> > > Bonus: RubyMotion version 
> > > 
> > > Definitely planned and in the works: Android Ruboto version 
> > > 
> > > Not yet planned or in the works: Windows, Linux 
> > > 
> > > Reporting in on IronRuby, it feels like a huge dead end. Takes ages to 
> > > get anywhere and there's no toolchain support in OS X, though it builds 
> > > under Mono. It's incredibly frusterating because it seems that the 
> > > language they built is actually 99% of what it needs to be to be a great 
> > > Ruby next to MacRuby. But there doesn't seem to be an interest (?) even 
> > > by Xamarin, Mono developer, so I've given up on it. Shoes may be used to 
> > > make the Windows or Linux versions. If anyone knows any other cross 
> > > platform Ruby solutions, please let me know!
> > > 
> > > Thanks and MINASWAN ! 
> > > 
> > > Jonathan Silverman 
> > > ___
> > > MacRuby-devel mailing list
> > > [email protected] 
> > > (mailto:[email protected])
> > > http://lists.macosforge.org/mailman/listinfo/macruby-devel
> > > 
> > > 
> > > 
> > 
> > 
> > 
> > 
> > ___ MacRuby-devel mailing list 
> > [email protected] 
> > (mailto:[email protected]) 
> > http://lists.macosforge.org/mailman/listinfo/macruby-devel 
> ___
> MacRuby-devel mailing list
> [email protected] (mailto:[email protected])
> http://lists.macosforge.org/mailman/listinfo/macruby-devel
> 
> 


___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macruby-devel


Re: [MacRuby-devel] New Version of GlobalChat2 Pro on App Store

2012-11-14 Thread J Silver
Thanks Josh ! Btw, Work on GC2-QtRuby has started and it is looking good 
once I get signals and slots implemented properly I'll post it here. 
BTW, for people interested in working with QtRuby, the correct gem is 
"qtbindings". This will cause QtRuby to work again in Win/Mac/Lin. I am 
hoping to create more documentation for this as I find out more, but 
everything seems to work if you use that gem.


jsilver

On 14/11/2012 12:42, Joshua Ballanco wrote:

Awesome job! Congrats!

On Friday, November 9, 2012 at 7:52 AM, J Silver wrote:


Thanks Mark! I will have a look.

On 08/11/2012 21:20, Mark Villacampa wrote:

Nice!! Good work.

Looking forward to the report on the current status of Ruboto :)

Another possible windows-linux cross platform could be QtRuby 
http://en.wikipedia.org/wiki/QtRuby




--
Mark Villacampa
Twitter: @MarkVillacampa

On Friday, November 9, 2012 at 6:16 AM, J Silver wrote:


GlobalChat

https://itunes.apple.com/us/app/globalchat-2-pro/id566614902?ls=1&mt=12

https://itunes.apple.com/us/app/globalchat-server/id566163288?ls=1&mt=12

Written in 100% MacRuby!

Source code: https://github.com/jsilverMDX/GlobalChat2

Bonus: RubyMotion version

Definitely planned and in the works: Android Ruboto version

Not yet planned or in the works: Windows, Linux

Reporting in on IronRuby, it feels like a huge dead end. Takes ages to
get anywhere and there's no toolchain support in OS X, though it 
builds

under Mono. It's incredibly frusterating because it seems that the
language they built is actually 99% of what it needs to be to be a 
great
Ruby next to MacRuby. But there doesn't seem to be an interest (?) 
even
by Xamarin, Mono developer, so I've given up on it. Shoes may be 
used to

make the Windows or Linux versions. If anyone knows any other cross
platform Ruby solutions, please let me know!

Thanks and MINASWAN !

Jonathan Silverman
___
MacRuby-devel mailing list
[email protected] 


http://lists.macosforge.org/mailman/listinfo/macruby-devel




___
MacRuby-devel mailing list
[email protected]  
http://lists.macosforge.org/mailman/listinfo/macruby-devel


___
MacRuby-devel mailing list
[email protected] 


http://lists.macosforge.org/mailman/listinfo/macruby-devel




___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macruby-devel


___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macruby-devel