Re: [MacRuby-devel] Xcode 4.3 move template files -- Workaround found!!!

2012-02-20 Thread Sean Mateus
you can test this example! just create an example App delegate, you’ll not be able to connect the accessors nor actions! class AppDelegate attr_accessor :window, :more def applicationDidFinishLaunching(a_notification) # because of this, rb_nibtool will not work notif = -> na

Re: [MacRuby-devel] Xcode 4.3 move template files -- Workaround found!!!

2012-02-20 Thread Kevin Poorman
Cay you post an example of the syntax thats breaking ? or a test or something? I'd like to take a crack at fixing it since rb_nibtool is, well, just a ruby script On Feb 20, 2012, at 3:14 PM, Sean Mateus wrote: > Thanks Kevin, > > I just found out the rb_nibtool is having some issues with blo

Re: [MacRuby-devel] Xcode 4.3 move template files -- Workaround found!!!

2012-02-20 Thread Sean Mateus
Thanks Kevin, I just found out the rb_nibtool is having some issues with blocks syntax! I’ll open a ticket and will try to understand how the rb_nibtool work and hope to be able to fix it! Sean ___ MacRuby-devel mailing list MacRuby-devel@lists.macos

Re: [MacRuby-devel] Xcode 4.3 move template files -- Workaround found!!!

2012-02-20 Thread Kevin Poorman
Sean, I am able to define methods like: def test_method sender puts "yes! it's working!" end and see them as actions in IB. Is that what you're talking about ? On Feb 20, 2012, at 4:16 AM, Sean Mateus wrote: > Hi Kevin, > > great work! > it's almost working for me, all attr_accessors

Re: [MacRuby-devel] Xcode 4.3 move template files -- Workaround found!!!

2012-02-20 Thread Sean Mateus
Hi Kevin, great work! it's almost working for me, all attr_accessors are shown but not the actions! can you try it out, just to check if with my setup or it's a bug! -Mateus ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://list

Re: [MacRuby-devel] Xcode 4.3 move template files -- Workaround found!!!

2012-02-18 Thread Matt Aimonetti
Nice... Can someone working on the installers drop a symlink for now? -m Sent from my iPad On Feb 18, 2012, at 8:40 PM, Kevin Poorman wrote: tl;dr: put a symlink in /Application/xcode/contents/developer/tools that points to your /Library/Frameworks/macruby.../rb_nibtool; restart Xcode; get back

Re: [MacRuby-devel] Xcode 4.3 move template files -- Workaround found!!!

2012-02-18 Thread Kevin Poorman
tl;dr: put a symlink in /Application/xcode/contents/developer/tools that points to your /Library/Frameworks/macruby.../rb_nibtool; restart Xcode; get back to writing code. I don't know whether to laugh or cry here. -- More importantly which is the bigger bug. as it turns out adding a symboli

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Matt Aimonetti
Great job Kevin, I would assume that a symlink would alter the code sig, but I might be wrong. Could you open a bug report https://bugreport.apple.com explaining what you found out. Please also mention radar: 9828745 which refers to the problem we had last time. Also, don't forget to post the rada

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Kevin Poorman
Interesting news, Using instruments, I am able to monitor file activity and see rb_nibtool being stat'd several times by Xcode 4.2.1 I can also see Xcode 4.3 calling for rb_nibtool. The same exception stat lines appear in roughly the same time frames on each startup of Xcode with a mac ruby pr

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Kevin Poorman
any reason not to have Xcode invoke it directly from the framework installation? ie /Library/frameworks/MacRuby .../ -pkj On Feb 18, 2012, at 9:51 PM, Matt Aimonetti wrote: > Last time that happened I had to file a bug with Apple and thy fixed it. This > time it might be more tricky as we ne

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Matt Aimonetti
Last time that happened I had to file a bug with Apple and thy fixed it. This time it might be more tricky as we need to know where Xcode expects us to put this file. Maybe someone at Apple could help? Thanks -Matt Sent from my iPhone On Feb 18, 2012, at 18:35, Marc Abramowitz wrote: > Perha

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Marc Abramowitz
Perhaps try using DTrace to see if it's trying to open the file? (if you haven't already tried that) -Marc http://marc-abramowitz.com Sent from my iPhone 4 On Feb 18, 2012, at 6:15 PM, Kevin Poorman wrote: > After more testing, I cannot find any evidence that xcode4.3 is even > attempting t

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Kevin Poorman
After more testing, I cannot find any evidence that xcode4.3 is even attempting to find rb_nibtool could this be a policy shift on the Xcode side? On Feb 18, 2012, at 2:05 PM, Sean Mateus wrote: > Hi Kevin, > > I believe that it’ll not be a problem to place the rb_nibtool into > /usr/local

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Kevin Poorman
Sean, et. all. I am an idiot of the most profound order. If one installs 4.3, and does NOT remove 4.2.1… and then one uses alfred to launch Xcode … one ends up launching 4.2.1 where of course rb_nibtool works. I'm still searching for a way to get rb_nibtool working in 4.3 sorry for the fa

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Kevin Poorman
Sean, I didn't copy rb_nibtool, sorry for the confusion. I linked /Library/Frameworks/MacRuby.framework/Versions/0.12/usr/bin/rb_nibtool to /usr/local/bin/rb_nibtool try linking ? On Feb 18, 2012, at 2:05 PM, Sean Mateus wrote: > Hi Kevin, > > I believe that it’ll not be a problem to place

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Sean Mateus
Hi Kevin, I believe that it’ll not be a problem to place the rb_nibtool into /usr/local/bin, unfortunately I doesn’t work for me! have you any hint? Sean ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mai

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Kevin Poorman
I have confirmed that placing the templates as Watson suggested does work with 4.3 Additionally, placing rb_nibtool in the system path (in my case I linked it into /usr/local/bin) works just fine! I have 4.3, with macruby nightly, with templates and rb_nibtool Can anyone more familiar with

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Kevin Poorman
the repo here: https://github.com/noeticpenguin/MacRuby/tree/xcode4.3-updates (branch xcode4.3-updates) Contains a patch changing the installation directory for the templates. I'm still investigating how to go about linking rb_nibtool. From what I can tell (limited) Xcode basically just shell

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Geoffrey Roguelon
I'm not sure because whereas one crash to first launch of storyboard, after none crash when I navigate in different part of Xcode. I could create a new MacRuby project, add Ruby class and modify the view without problem… Le 18 févr. 2012 à 11:34, Sean Mateus a écrit : > I believe the since Xco

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Watson
Hi, Unfortunately, I know only a few things about rb_nibtool. - rb_nibtool provides the information for Interface Builder to connect Outlets/Actions. - When open the xib file with IB, rb_nibtool analyzes the Ruby scripts and generates Outlets/Actions information. I don't know how to be called rb_

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Sean Mateus
Hi Watson, can you give some/small input on how rb_nibtool is actived when a file changes? I tried to figure it out, but I didn’t succeed! why should we move the rb_nibtool? thx Sean Mateus ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforg

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread James Chen
Watson, Thanks for the hint! By doing this, at lease creating 'MacRuby Application' has no problem. Haven't checked other template yet. Cheers, James On Sat, Feb 18, 2012 at 8:25 PM, Watson wrote: > Hi, > > If you want to move MacRuby's Templetes into User folder, > > 1. create "~/Library/Dev

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Watson
Hi, If you want to move MacRuby's Templetes into User folder, 1. create "~/Library/Developer/Xcode/Templates/Application" 2. copy "misc/xcode4-templates/File Templates" and "misc/xcode4-templates/Project Templates" into above folder. However, I don't know whether move the rb_nibtool as same way

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread James Chen
The user's shared folder for that is ~/Library/Application Support/Developer/Shared/Xcode, but simply copying MacRuby's templates into that folder doesn't seem to work. James On Sat, Feb 18, 2012 at 7:34 PM, Sean Mateus wrote: > Hallo Geoffrey, > * > * > I believe the since Xcode is a signed app

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Sean Mateus
Hallo Geoffrey, * * I believe the since Xcode is a signed application bundle, you can’t change its content! this must be the reason why it crashes! I still have no idea how we can add the Macruby templates, I hope some has a better idea! I hope there were a possibility just to put the templates

[MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Geoffrey Roguelon
Hi, I post a question on Twitter : https://twitter.com/#!/MacRuby/status/170616426959351808 So, I've installed MacRuby 0.10 downloaded from the MacRuby website. And before, I've proceeded to the update of Xcode to 4.3. Whenever, I want to create a new Xcode project, I don't see MacRuby projec