Re: [MacRuby-devel] CGRectZero

2011-05-22 Thread Petr Kaleta
You can include your BridgeSupport files using macruby_deploy utility. - Petr On May 22, 2011, at 9:50 AM, Petr Kaleta wrote: > Hi, > you must install the latest version of BridgeSupport. Excellent. New BridgeSupport fixed the problem. Thanks. One other question, though. Forgive my ign

Re: [MacRuby-devel] CGRectZero

2011-05-22 Thread Petr Kaleta
Hi, you must install the latest version of BridgeSupport. - Petr On May 22, 2011, at 3:48 PM, Jason Voegele wrote: > Hi, I'm working on a new MacRuby application, and I'm using the updated > HotCocoa from this fork: https://github.com/ferrous26/hotcocoa > > This version of HotCocoa contains se

Re: [MacRuby-devel] macruby_deploy error while compiling files

2011-05-05 Thread Petr Kaleta
it all. Can you change this in source/bin/ruby_deploy and see if your >>> app works good afterwards? If so I’ll apply that, right now I’m going >>> to start on a test suite for the tool as it is. >>> >>> On Thu, May 5, 2011 at 2:58 PM, Petr Kaleta wrote: >>>

Re: [MacRuby-devel] macruby_deploy error while compiling files

2011-05-05 Thread Petr Kaleta
upload a sample that shows this. > > On Thu, May 5, 2011 at 2:11 PM, Petr Kaleta wrote: >> Now I am looking in the application package and embeded gems are not >> compiled. And as you can see here http://cl.ly/240t0v3q2O221X3U113u some >> ruby files compiled are, but th

Re: [MacRuby-devel] macruby_deploy error while compiling files

2011-05-05 Thread Petr Kaleta
ource files as well. Embeded STDlib >> is not compiled at all http://cl.ly/2d2D2R2L451m2C2x472J >> >> Is this right? >> >> On May 5, 2011, at 1:27 PM, Petr Kaleta wrote: >> >>> Thanks for reply, that works. So after deploying, my whole application

Re: [MacRuby-devel] macruby_deploy error while compiling files

2011-05-05 Thread Petr Kaleta
May 5, 2011, at 1:27 PM, Petr Kaleta wrote: > Thanks for reply, that works. So after deploying, my whole application has > about 45MB (zipped 12MB). My only question is, can I somehow speedup > application start? Now it takes about 10 seconds (loading gems & project > files). >

Re: [MacRuby-devel] macruby_deploy error while compiling files

2011-05-05 Thread Petr Kaleta
't set we should check > the app binary for the archs it's been built for. I'll create a path > in a bit. > > For now you should be able to work around it by doing: > > env ARCHS='i386 x86_64' macruby_deploy --compile --embed --gem > rest-client --gem s

[MacRuby-devel] macruby_deploy error while compiling files

2011-05-05 Thread Petr Kaleta
Hi everyone, I'd like to deploy my Macruby app using: macruby_deploy --compile --embed --gem rest-client --gem sequel --bs Issues.app but I'm getting this error: *** Deployment started *** Embedding MacRuby.framework *** Embed RubyGems libdirs: /Library/Frameworks/MacRuby.framework/Versions/0.1

Re: [MacRuby-devel] Sqlite3 without core data

2011-05-02 Thread Petr Kaleta
: > Ah, I've worked around this bug myself in the past (apologies for not > responding sooner). A simpler fix is to simple use this in place of alias > method: > > def model > class > end > > - Josh > > > On Thu, Apr 28, 2011 at 1:00 PM, Petr Kalet

[MacRuby-devel] Building an application package

2011-04-29 Thread Petr Kaleta
Hi, is there any tutorial how to build standalone application package without Xcode? Right now I am developing it in Textmate and debugging from terminal using $ macruby main.rb So how can I create standalone *.app which will include all gems, frameworks, etc. And also my ruby code must be comp

Re: [MacRuby-devel] Sqlite3 without core data

2011-04-28 Thread Petr Kaleta
btw: workaround to use Sequel with Macruby 0.10 https://github.com/stonehippo/sequel/commit/fab629080b450ea8a66912029415b30a10844fbe Matt, check please modification in lib/sequel/dataset/actions.rb looks like another macruby bug. - Petr On Apr 28, 2011, at 6:54 PM, Petr Kaleta wrote: > H

Re: [MacRuby-devel] Sqlite3 without core data

2011-04-28 Thread Petr Kaleta
Here is a ticket https://www.macruby.org/trac/ticket/1245 - Petr On Apr 28, 2011, at 6:53 PM, Matt Aimonetti wrote: > Excellent, thanks a lot! > > - Matt > > On Thu, Apr 28, 2011 at 9:40 AM, Petr Kaleta wrote: > Hi Matt, > here is a bug reduction: > > class Base

Re: [MacRuby-devel] Sqlite3 without core data

2011-04-28 Thread Petr Kaleta
; end; p Foo.new.model; > class Bar < Foo; end; p Bar.new.model" > Foo > Bar > > - Matt > > > On Thu, Apr 28, 2011 at 8:43 AM, Matt Aimonetti > wrote: > Petr, could you write a bug reduction and open a MacRuby ticket please? > > Thanks, > > - Ma

Re: [MacRuby-devel] Sqlite3 without core data

2011-04-28 Thread Petr Kaleta
com/jeremyevans/sequel/blob/master/lib/sequel/model/base.rb#L1378 - Petr On Apr 28, 2011, at 4:39 PM, Petr Kaleta wrote: > Hi Daniel, > so you are not using Sequel Models at all? > > I've reported that bug in Sequel's tracking system > http://code.google.com/p/ruby-se

Re: [MacRuby-devel] Sqlite3 without core data

2011-04-28 Thread Petr Kaleta
iel Westendorf wrote: > Petr, > > I can confirm that Model's don't work as expected with Sequel and Macruby. > Instead I use a workaround like this: > > DB[:items].all() > DB[:items].insert(:name => "My Item") > etc. > > Daniel > > On Th

Re: [MacRuby-devel] Sqlite3 without core data

2011-04-28 Thread Petr Kaleta
So I've made some tests. This sample is working without any problems with ruby 1.8.7 and 1.9.2 but is not working with Macruby. Anybody here using Sequel with Macruby 0.10? - Petr On Apr 28, 2011, at 12:33 PM, Petr Kaleta wrote: > One Sequel related question: check this simple c

Re: [MacRuby-devel] Sqlite3 without core data

2011-04-28 Thread Petr Kaleta
ariable or method `model' for # (NameError) Am I doing something wrong? - Petr On Apr 18, 2011, at 1:47 PM, Rolando Abarca wrote: > try sequel: http://sequel.rubyforge.org/ > > On Mon, Apr 18, 2011 at 6:11 AM, Petr Kaleta wrote: >> Can you suggest me some gem/framework to

Re: [MacRuby-devel] Sqlite3 without core data

2011-04-28 Thread Petr Kaleta
u > do not need to change LOAD_PATH. > > Laurent > > On Thu, Apr 28, 2011 at 1:16 AM, Petr Kaleta wrote: >> Thanks for this hint, this lib looks great. Problem is, that I can't make it >> work. I am loading all gems from vendor folder inside my app. So: >> >

Re: [MacRuby-devel] Sqlite3 without core data

2011-04-28 Thread Petr Kaleta
Thanks for this hint, this lib looks great. Problem is, that I can't make it work. I am loading all gems from vendor folder inside my app. So: $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'vendor/sqlite3-ruby/lib')) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'vendor/sequel/lib')

Re: [MacRuby-devel] Hash Table

2011-04-18 Thread Petr Kaleta
2X - Petr On Apr 18, 2011, at 3:45 PM, Petr Kaleta wrote: > Hi I'm a little bit confused about basic ruby classes implementation. Ruby > Hash is internally implemented as NSDictionary/NSMutableDictionary? So for > example if I need to implement hash table, I can use ruby Hash? So

[MacRuby-devel] Hash Table

2011-04-18 Thread Petr Kaleta
Hi I'm a little bit confused about basic ruby classes implementation. Ruby Hash is internally implemented as NSDictionary/NSMutableDictionary? So for example if I need to implement hash table, I can use ruby Hash? So the performance will be exactly same compared to NSDictionary? - Petr

[MacRuby-devel] Sqlite3 without core data

2011-04-18 Thread Petr Kaleta
Can you suggest me some gem/framework to work with Sqlite3 without core data? Something which has nice DSL and good performance. Thanks - Petr ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinf