Re: [MacRuby-devel] Xcode 4 is out... any plan to integrate soon?

2011-03-15 Thread Andre Lewis
If anyone is still having problems with this, make sure you re-install
MacRuby trunk *after* installing Xcode4.

On Fri, Mar 11, 2011 at 8:13 PM, Manu  wrote:

> does not seem to work for now.. I tried creating a simple class with a
> simple attribute (for a button place holder) and link it the controller
> class to the button and nothing shows in the list to make that link
>
>
> On Mar 11, 2011, at 10:22 AM, Matt Aimonetti wrote:
>
> Can you verify that the outlets are working?
> Laurent said he would commit the templates shortly so they should be
> available in a future nightly build.
>
> - Matt
>
> On Fri, Mar 11, 2011 at 8:59 AM, Manu  wrote:
>
>> Interestingly, I made the mistake to remove Xcode 3.. so I have only Xcode
>> 4 but I see it working with an older project.
>>
>> So where can I find the template for MacRuby? And where should they be
>> installed?  So far beside few path issues in the build it seems to mostly
>> work
>>
>> I created a new file SomeClass.rb and a class, and I see it working on the
>> Custom Class field of the interface
>>
>> Emmanuel
>>
>> On Mar 11, 2011, at 8:50 AM, Matt Aimonetti wrote:
>>
>> Indeed and others couldn't get Xcode to work.
>>
>> - Matt
>>
>> On Fri, Mar 11, 2011 at 8:34 AM, Manu  wrote:
>>
>>> Ok . Seems like someone got it to work but did not explain how he did...
>>>
>>>
>>> On Mar 10, 2011, at 10:54 PM, Matt Aimonetti wrote:
>>>
>>> Please refer to the other posts about the same topic sent today.
>>>
>>> - Matt
>>>
>>> On Thu, Mar 10, 2011 at 9:25 PM, Manu  wrote:
>>>
 Hi

 Now that Xcode 4 is out , and that MacRuby 0.9 is out,  any plans to
 integrate with Xcode 4? Just curious. I saw a post last month but was
 wondering if there were any update

 Emmanuel
 ___
 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
>
>


-- 
Scout Web Monitoring and Reporting ~ http://scoutapp.com
blog: http://blog.scoutapp.com
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] "framework" method gotcha

2011-03-15 Thread Christian Niles
On Mar 14, 2011, at 1:11 PM, Laurent Sansonetti wrote:

> Hi Christian,
> 
> These tests should probably be removed, they are not used anymore (these were 
> used before we switched to RubySpec).
> 
> The correct thing to do is probably make a macruby spec (under the 
> spec/macruby directory).
> 
> How do you intend to change #framework exactly? Maybe you should work on a 
> patch first, and we can iterate on it, then write the spec/test later.

As a TDDer, I went to the specs first :)

My update is pretty simple so I just went ahead and wrote the patch, added to 
this ticket:

  https://www.macruby.org/trac/ticket/1198

In short, I changed Kernel#framework to *always* treat strings like 'Cocoa' as 
a framework names that resolve against the main bundle, system paths, and 
DYLD_FRAMEWORK_PATH. Anything that looks like a path gets resolved against the 
current directory (unless it's absolute, of course). Paths are anything with a 
slash or '.framework' on the end, essentially.

Based on the existing code, I think this was the expected behavior, but it had 
the gotcha I experienced.

> Thanks for helping :)

No problem!

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