[MacRuby-devel] Rake: Attempting to build MacRuby failed...
Neophyte here. I'm guessing that the root of the failure is 'rake' is accessing ruby 1.8 files versus 1.9, even though I have ruby 1.9 as my default: [/Users/Ric/workarea/svn/MacRuby/trunk]ruby --version ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-darwin9] Here's the abridged rake run: [/Users/Ric/workarea/svn/MacRuby/trunk]sudo rake --trace Password: (in /Users/Ric/workarea/svn/MacRuby/trunk) ** Invoke default (first_time) ** Invoke all (first_time) ** Invoke macruby (first_time) ** Invoke macruby:build (first_time) ** Invoke macruby:dylib (first_time) ** Invoke rbconfig (first_time) ** Invoke miniruby (first_time) ** Invoke objects (first_time) ** Invoke config_h (first_time) ** Execute config_h ** Invoke dtrace_h (first_time) ** Execute dtrace_h ** Invoke revision_h (first_time) ** Execute revision_h ** Execute objects /usr/bin/ruby tool/compile_prelude.rb prelude.rb miniprelude.c.new rm miniprelude.c.new /usr/bin/ruby -Ks tool/insns2vm.rb opt_sc.inc optinsn.inc optunifs.inc insns.inc insns_info.inc vmtc.inc vm.inc /Users/Ric/workarea/svn/MacRuby/trunk/tool/instruction.rb:7:in `(required)>': RubyVM is not a module (TypeError) from tool/insns2vm.rb:7:in `require' from tool/insns2vm.rb:7:in `' rake aborted! Command failed with status (1): [/usr/bin/ruby -Ks tool/insns2vm.rb opt_sc] /Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:969:in `sh' /Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:982:in `call' /Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:982:in `sh' /Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:1070:in `sh' /Users/Ric/workarea/svn/MacRuby/trunk/Rakefile:337 ... Any clues as to what is happening? Ric. ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
[MacRuby-devel] OpenGL Bus Error
I was using the 'macirb' and this is what I got: I had entered this: dawnmcds-powerbook-g4-12:~ Tim$ macirb irb(main):001:0> framework 'cocoa' => true irb(main):002:0> framework 'opengl' => true irb(main):003:0> a = NSSize.new => # irb(main):004:0> a => # irb(main):005:0> a.width => 0.0 irb(main):007:0> a.width = 640 => 640 irb(main):008:0> a.height = 480 => 480 irb(main):009:0> a => # irb(main):010:0> glMatrixMode(GL_PROJECTION) and then the glMatrixMode call got me this bus error: (irb):10: [BUG] Bus Error MacRuby version 0.4 (ruby 1.9.1) [universal-darwin9.0, ppc] -- stack frame (0x30040): 0004 0001 (0x30044): 0002 (0x30048): 0004 0003 (0x3004c): 0004 (0x30050): 0004 0005 (0x30054): 0006 (0x30058): 00571940 0007 (0x3005c): 010cb370 0008 (0x30060): 0128e100 0009 (0x30064): 0004 0010 (0x30068): 01411e60 0011 (0x3006c): 0004 0012 (0x30070): 0056de80 0013 (0x30074): 0004 0014 (0x30078): 000aff74 0015 (0x3007c): 0004 0016 (0x30080): 01411e8c 0017 (0x30084): 0128e100 0018 (0x30088): 0004 0019 (0x3008c): 01411f60 0020 (0x30090): 01069660 0021 (0x30094): 0004 0022 (0x30098): 000afe94 0023 (0x3009c): 0004 0024 (0x300a0): 0057a6f0 0025 (0x300a4): 0004 0026 (0x300a8): 000afe5c 0027 (0x300ac): 0004 0028 (0x300b0): 00030098 (= 22) 0029 (0x300b4): 0004 0030 (0x300b8): 0004 0031 (0x300bc): 000afdb4 0032 (0x300c0): 0144aab0 0033 (0x300c4): 0004 0034 (0x300c8): 000300b0 (= 28) 0035 (0x300cc): 01438510 0036 (0x300d0): 0015 0037 (0x300d4): 0004 0038 (0x300d8): 01262e44 0039 (0x300dc): 0004 0040 (0x300e0): 0056e740 0041 (0x300e4): 0056e110 0042 (0x300e8): 0004 0043 (0x300ec): 000afcd4 0044 (0x300f0): 0004 0045 (0x300f4): 0004 0046 (0x300f8): 0004 0047 (0x300fc): 0004 0048 (0x30100): 0004 0049 (0x30104): 0004 0050 (0x30108): 0004 0051 (0x3010c): 000300d8 (= 38) 0052 (0x30110): 0128dc30 0053 (0x30114): 01438510 0054 (0x30118): 0015 0055 (0x3011c): 0004 0056 (0x30120): 0057 (0x30124): 0004 0058 (0x30128): 0128bf20 0059 (0x3012c): 0128dc30 0060 (0x30130): 01438510 0061 (0x30134): 0127c220 0062 (0x30138): 0015 0063 (0x3013c): 0004 0064 (0x30140): 0065 (0x30144): 0004 0066 (0x30148): 01438510 0067 (0x3014c): 012b5910 0068 (0x30150): 0127c220 0069 (0x30154): 0015 0070 (0x30158): 0004 0071 (0x3015c): 0072 (0x30160): 0004 0073 (0x30164): 0074 (0x30168): 0004 0075 (0x3016c): 0144b180 0076 (0x30170): 0004 0077 (0x30174): 2e03 0078 (0x30178): 0004 0079 (0x3017c): <- lfp <- dfp -- control frame -- c:0024 p: s:0080 b:0080 l:79 d:79 CFUNC :glMatrixMode c:0023 p:0014 s:0076 b:0076 l:000214 d:001f64 EVAL (irb):10 c:0022 p: s:0074 b:0074 l:73 d:73 FINISH :empty? c:0021 p: s:0072 b:0072 l:71 d:71 CFUNC :eval c:0020 p:0023 s:0065 b:0065 l:64 d:64 METHOD /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/irb/workspace.rb:80 c:0019 p:0025 s:0058 b:0057 l:56 d:56 METHOD /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/irb/context.rb:218 c:0018 p:0024 s:0052 b:0052 l:0024d4 d:51 BLOCK /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/irb.rb:149 c:0017 p:0025 s:0044 b:0044 l:43 d:43 METHOD /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/irb.rb:263 c:0016 p:0009 s:0039 b:0039 l:0024d4 d:38 BLOCK /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/irb.rb:146 c:0015 p:0110 s:0035 b:0035 l:22 d:34 BLOCK /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/irb/ruby-lex.rb:244 c:0014 p: s:0034 b:0034 l:33 d:33 FINISH :block_given? c:0013 p: s:0032 b:0032 l:31 d:31 CFUNC :loop c:0012 p:0007 s:0029 b:0029 l:22 d:28 BLOCK /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/irb/ruby-lex.rb:230 c:0011 p: s:0029 b:0029 l:28 d:28 FINISH :each c:0010 p: s:0027 b:0027 l:26 d:26 CFUNC :catch c:0009 p:0017 s:0023 b:0023 l:22 d:22 METHOD /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/irb/ruby-lex.rb:229 c:0008 p:0034 s:0020 b:0020 l:0024d4 d:0024d4 METHOD /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/irb.rb:145 c:0007 p:0009 s:0017 b:0017 l:00130c d:16 BLOCK /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/irb.rb:69 c:0006 p: s:0017 b:0017 l:16 d:16 FINISH :(null) c:0005 p: s:0015 b:0015 l:14 d:14 CFUNC :catch c:0004 p:0147 s:0011 b:0011 l:00130c d:00130c METHOD /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/irb.rb:68 c:0003 p:0033 s:0006 b:0006 l:05 d:05 TOP /usr/local/bin/macirb:12 c:0002 p: s:0004 b:0004 l:03 d:03 FINISH :inherited: c:0001 p: s:0002 b:0002 l:01 d:01 TOP -
[MacRuby-devel] That bus error: Reproducible and with all gl calls!
It looks like all OpenGL methods are giving me bus errors! Meep! -- --Timothy. ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
[MacRuby-devel] experimental branch: status update
Here is the weekly status update of the experimental branch! I'm sure you were all expecting it and holding your breath! - Implemented BridgeSupport constants, in a lazy fashion (the symbol is retrieved and converted at demand). - The Pointer class was re-implemented. Same behavior as in trunk but with a new implementation, based on LLVM. Also, a few changes: - Pointer.new is now an alias to Pointer.new_with_type - The first argument can be a symbol instead of the Objective-C runtime encoding type. Symbols currently supported: char, uchar, short, ushort, int, uint, long, ulong, long_long, ulong_long, float, double, string, pointer and object (which is @). These are the same types as used in the FFI API, by the way. - The second argument (optional) can be used to allocate a C array style pointer. The default value is 1. - #[]= was added to set a given Ruby object at the given slot. Note that it does not check bounds. #assign is a shortcut to #[]= with the first argument (slot index) as 0. - #type was added, which returns the Objective-C runtime encoding type. - Incoming pointers passed to an underlying C or Objective-C method will be checked for their type, and a TypeError exception will be raised if they do not match. - Blocks: - Using a block non-recursively should be faster (yay). If used recursively, some bugs have been fixed. - Local or dynamic variables in blocks transformed to Proc objects and leaving the scope of the method where they were created are now working (re-yay). The implementation does not impact the runtime performance of methods using blocks that do not leave their scope. - Ruby methods are now registered into the Objective-C runtime via a specialized stub that we compile at demand, which takes care of dealing with Ruby immediate objects or C types. This means all Ruby methods can now be called from Objective-C and can also overwrite any Objective-C methods. We can pass more Cocoa examples thanks to that. - Support for CoreFoundation types (same behavior as in trunk). - RubySpec was merged from upstream + more Encoding specs work! At this point Cocoa support is looking great and the next step will be to work on the project's installation. Once it can install itself, we can progress and start working on running real MacRuby apps (+ HotCocoa). Laurent ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] Void pointers and userData
Hi Kevin, On May 2, 2009, at 6:42 AM, Kevin McGuinness wrote: Hi, I'm wondering if it is possible to use the userData field of NSEvent in MacRuby. I want to add tracking rectangles to a NSView subclass, and store the object that is mouse has entered in the userData field. Something along the lines of: addTrackingRect(rect, owner:self, userData:obj, assumeInside:false) ... def mouseEntered(event) obj = event.userData[0] end However this produces the runtime error: can't convert C/Objective-C value `0x800418240' of type `ƿ_\377' to Ruby object (ArgumentError) Is it possible to set the NSEvent userData field at all in MacRuby? I can work around if not, but the userData field would be more efficient. Thanks, Kevin. This is a recurrent question on the list, and I unfortunately don't think it may work. You could allocate a Pointer object, set it to your object, and pass it to the addTrackingRect:owner:userData:assumeInside: method (making sure both the pointer and the object inside the pointer are retained, otherwise the GC might collect it), then later, call userData and retrieve the object inside the pointer. The problem is that userData returns ^v and there is currently no way to "cast" a Pointer object. I will add this later (RubyCocoa does it IIRC). I would recommend an alternative solution, because dealing with this can be cumbersome (and cause GC crashes if you're not careful). Laurent ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] Rake: Attempting to build MacRuby failed...
I see, thanks for the report, I think that the project won't build if you use ruby 1.9 as the main Ruby interpreter. I will fix that later, in the meantime if you still have 1.8 on your machine, you may want to change your $PATH. Laurent PS: Overriding Apple's Ruby (in case you did it) is not a good idea at all, it can break OS features and can cause problems in the future once you apply software updates. On May 4, 2009, at 2:03 PM, Frederick C. Lee wrote: Neophyte here. I'm guessing that the root of the failure is 'rake' is accessing ruby 1.8 files versus 1.9, even though I have ruby 1.9 as my default: [/Users/Ric/workarea/svn/MacRuby/trunk]ruby --version ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-darwin9] Here's the abridged rake run: [/Users/Ric/workarea/svn/MacRuby/trunk]sudo rake --trace Password: (in /Users/Ric/workarea/svn/MacRuby/trunk) ** Invoke default (first_time) ** Invoke all (first_time) ** Invoke macruby (first_time) ** Invoke macruby:build (first_time) ** Invoke macruby:dylib (first_time) ** Invoke rbconfig (first_time) ** Invoke miniruby (first_time) ** Invoke objects (first_time) ** Invoke config_h (first_time) ** Execute config_h ** Invoke dtrace_h (first_time) ** Execute dtrace_h ** Invoke revision_h (first_time) ** Execute revision_h ** Execute objects /usr/bin/ruby tool/compile_prelude.rb prelude.rb miniprelude.c.new rm miniprelude.c.new /usr/bin/ruby -Ks tool/insns2vm.rb opt_sc.inc optinsn.inc optunifs.inc insns.inc insns_info.inc vmtc.inc vm.inc /Users/Ric/workarea/svn/MacRuby/trunk/tool/instruction.rb:7:in `(required)>': RubyVM is not a module (TypeError) from tool/insns2vm.rb:7:in `require' from tool/insns2vm.rb:7:in `' rake aborted! Command failed with status (1): [/usr/bin/ruby -Ks tool/insns2vm.rb opt_sc] /Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:969:in `sh' /Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:982:in `call' /Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:982:in `sh' /Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:1070:in `sh' /Users/Ric/workarea/svn/MacRuby/trunk/Rakefile:337 ... Any clues as to what is happening? Ric. ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] That bus error: Reproducible and with all gl calls!
I also reproduce this on the experimental branch, and it's crashing inside OpenGL. Maybe something needs to be done first, before calling OpenGL? I know it's working nice inside a Cocoa application context. I reproduce the same crash with Ruby 1.8 + RubyCocoa too: $ ruby -r osx/cocoa -e "OSX.require_framework 'OpenGL'; p OSX.glMatrixMode(OSX::GL_PROJECTION)" Laurent On May 4, 2009, at 2:38 PM, Timothy McDowell wrote: It looks like all OpenGL methods are giving me bus errors! Meep! -- --Timothy. ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] That bus error: Reproducible and with all gl calls!
I also reproduce this on the experimental branch, and it's crashing
inside OpenGL. Maybe something needs to be done first, before
calling OpenGL? I know it's working nice inside a Cocoa application
context.
I reproduce the same crash with Ruby 1.8 + RubyCocoa too:
$ ruby -r osx/cocoa -e "OSX.require_framework 'OpenGL'; p
OSX.glMatrixMode(OSX::GL_PROJECTION)"
And also with a simple C program:
~/tmp% cat e.c
#include
int main()
{
glMatrixMode(GL_PROJECTION);
return 0;
}
~/tmp% cat e.c
#include
int main()
{
glMatrixMode(GL_PROJECTION);
return 0;
}
~/tmp% gcc -framework OpenGL -o e e.c
~/tmp% ./e
zsh: bus error ./e
So as Laurent said, it's probably just an initialization problem.
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
[MacRuby-devel] Modal sheet question
I've been trying to port a small app I've written in MacRuby with a nib file over to HotCocoa. When the app launches a modal sheet is displayed asking the user for credentials. This is done by having both the main window and the credentials sheet in the MainMenu.nib file. In the applicationDidFinishLaunching method of the app delegate I call NSApp's beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo: to display the sheet. This works like a champ with the in MacRuby with the nib. However in HotCocoa the sheet displays but is both detached from the main window and goes to the back as soon as you click on anything. On other mailing-lists I've seen the problem attributed to having the "Visible at launch" property enabled on the sheet window. But I'm trying to do it with HotCocoa and I can't, for the life of me, figure out the equivalent method call. I've toyed with loading the credentials window from a nib, but I'd like to do this with HotCocoa for demonstration purposes. If anyone has any ideas I'd love any insights or suggestions. Cheers, Alex Musings & Notes — http://alexvollmer.com Track what you lend and borrow — http://moochbot.com ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] OpenGL Bus Error
Hi Timothy, maybe you have figured it all out by now - but when doing openGL stuff it is usually in the context (literally and metaphorically) of an NSOpenGLView, you also have to overwrite the initWithFrame method and a few other methods in this class. Within the init method you set up the pixel depth, buffer type etc, and you have to make the openGLContext the current context. I can send you a small Xcode sample if you like. Cheers, J On May 4, 2009, at 11:36 PM, Timothy McDowell wrote: I was using the 'macirb' and this is what I got: I had entered this: dawnmcds-powerbook-g4-12:~ Tim$ macirb irb(main):001:0> framework 'cocoa' => true irb(main):002:0> framework 'opengl' => true irb(main):003:0> a = NSSize.new => # irb(main):004:0> a => # irb(main):005:0> a.width => 0.0 irb(main):007:0> a.width = 640 => 640 irb(main):008:0> a.height = 480 => 480 irb(main):009:0> a => # irb(main):010:0> glMatrixMode(GL_PROJECTION) and then the glMatrixMode call got me this bus error: (irb):10: [BUG] Bus Error MacRuby version 0.4 (ruby 1.9.1) [universal-darwin9.0, ppc] -- stack frame (0x30040): 0004 0001 (0x30044): 0002 (0x30048): 0004 0003 (0x3004c): 0004 (0x30050): 0004 0005 (0x30054): 0006 (0x30058): 00571940 0007 (0x3005c): 010cb370 0008 (0x30060): 0128e100 0009 (0x30064): 0004 0010 (0x30068): 01411e60 0011 (0x3006c): 0004 0012 (0x30070): 0056de80 0013 (0x30074): 0004 0014 (0x30078): 000aff74 0015 (0x3007c): 0004 0016 (0x30080): 01411e8c 0017 (0x30084): 0128e100 0018 (0x30088): 0004 0019 (0x3008c): 01411f60 0020 (0x30090): 01069660 0021 (0x30094): 0004 0022 (0x30098): 000afe94 0023 (0x3009c): 0004 0024 (0x300a0): 0057a6f0 0025 (0x300a4): 0004 0026 (0x300a8): 000afe5c 0027 (0x300ac): 0004 0028 (0x300b0): 00030098 (= 22) 0029 (0x300b4): 0004 0030 (0x300b8): 0004 0031 (0x300bc): 000afdb4 0032 (0x300c0): 0144aab0 0033 (0x300c4): 0004 0034 (0x300c8): 000300b0 (= 28) 0035 (0x300cc): 01438510 0036 (0x300d0): 0015 0037 (0x300d4): 0004 0038 (0x300d8): 01262e44 0039 (0x300dc): 0004 0040 (0x300e0): 0056e740 0041 (0x300e4): 0056e110 0042 (0x300e8): 0004 0043 (0x300ec): 000afcd4 0044 (0x300f0): 0004 0045 (0x300f4): 0004 0046 (0x300f8): 0004 0047 (0x300fc): 0004 0048 (0x30100): 0004 0049 (0x30104): 0004 0050 (0x30108): 0004 0051 (0x3010c): 000300d8 (= 38) 0052 (0x30110): 0128dc30 0053 (0x30114): 01438510 0054 (0x30118): 0015 0055 (0x3011c): 0004 0056 (0x30120): 0057 (0x30124): 0004 0058 (0x30128): 0128bf20 0059 (0x3012c): 0128dc30 0060 (0x30130): 01438510 0061 (0x30134): 0127c220 0062 (0x30138): 0015 0063 (0x3013c): 0004 0064 (0x30140): 0065 (0x30144): 0004 0066 (0x30148): 01438510 0067 (0x3014c): 012b5910 0068 (0x30150): 0127c220 0069 (0x30154): 0015 0070 (0x30158): 0004 0071 (0x3015c): 0072 (0x30160): 0004 0073 (0x30164): 0074 (0x30168): 0004 0075 (0x3016c): 0144b180 0076 (0x30170): 0004 0077 (0x30174): 2e03 0078 (0x30178): 0004 0079 (0x3017c): <- lfp <- dfp -- control frame -- c:0024 p: s:0080 b:0080 l:79 d:79 CFUNC :glMatrixMode c:0023 p:0014 s:0076 b:0076 l:000214 d:001f64 EVAL (irb):10 c:0022 p: s:0074 b:0074 l:73 d:73 FINISH :empty? c:0021 p: s:0072 b:0072 l:71 d:71 CFUNC :eval c:0020 p:0023 s:0065 b:0065 l:64 d:64 METHOD /Library/ Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/irb/ workspace.rb:80 c:0019 p:0025 s:0058 b:0057 l:56 d:56 METHOD /Library/ Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/irb/ context.rb:218 c:0018 p:0024 s:0052 b:0052 l:0024d4 d:51 BLOCK /Library/ Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/irb.rb: 149 c:0017 p:0025 s:0044 b:0044 l:43 d:43 METHOD /Library/ Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/irb.rb: 263 c:0016 p:0009 s:0039 b:0039 l:0024d4 d:38 BLOCK /Library/ Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/irb.rb: 146 c:0015 p:0110 s:0035 b:0035 l:22 d:34 BLOCK /Library/ Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/irb/ ruby-lex.rb:244 c:0014 p: s:0034 b:0034 l:33 d:33 FINISH :block_given? c:0013 p: s:0032 b:0032 l:31 d:31 CFUNC :loop c:0012 p:0007 s:0029 b:0029 l:22 d:28 BLOCK /Library/ Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/irb/ ruby-lex.rb:230 c:0011 p: s:0029 b:0029 l:28 d:28 FINISH :each c:0010 p: s:0027 b:0027 l:26 d:26 CFUNC :catch c:0009 p:0017 s:0023 b:0023 l:22 d:22 METHOD /Library/ Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/irb/ ruby-lex.rb:229 c:0008 p:0034 s:0020 b:0020 l:0024d4 d:0024d4 METHOD /Library/ Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/irb.rb: 145 c:0007 p:0009 s:0017 b:0017 l:00130
