Thanks Mark, you're guess was right.

I'm using Xcode Version 4.2.1

After trying the script, I discovered that it was failing on  
"XCODE_DIR=`xcode-select -print-path`"

so I looked it up and ran "sudo xcode-select -switch '/Developer'" and then 
tried the installer again, and it worked.

I've never seen any of these commands before, so I'm not sure how that got 
broken.

Thanks for the help, I will log the details in a bug report.

Fb



On 03/05/2012, at 00:44, Mark Rada wrote:

> Hmm, that does sound strange.
> 
> The script that the installer runs is found here:
> 
> https://github.com/MacRuby/MacRuby/blob/master/misc/release/package_script/postinstall
> 
> I would guess that it is not able to get the Xcode dir properly and failing 
> to set it up.
> 
> 
> 
> 
> On 2012-05-02, at 2:03 PM, stephen horne wrote:
> 
>> Ok, thanks. Xcode is installed, and I don't remember doing anything funny to 
>> it, but it's entirely possible I broke it somehow as much of it is beyond my 
>> understanding - I will see if I can figure it out and log a bug if I do.
>> 
>> fb
>> 
>> On 02/05/2012, at 18:45, Mark Rada wrote:
>> 
>>> The script might fail if you do not have Xcode installed or something is 
>>> unusual about your Xcode setup. 
>>> 
>>> To answer your other question, everything except Xcode integration should 
>>> be installed by the time that the failing script is run. 
>>> 
>>> Also, if it turns out to be something with your setup of Xcode, could you 
>>> please log a bug with details? This seems like it should be a blocker for 
>>> release. 
>>> 
>>> Sent from my iDevice
>>> 
>>> On 2012-05-02, at 12:42, stephen horne <fat...@gmail.com> wrote:
>>> 
>>>> It's been a while since I installed a nightly build because I get a error 
>>>> in the installer ("Installation failed", and "An error occurred while 
>>>> running scripts from the package “macruby_nightly-2012-05-02.pkg”"), and I 
>>>> haven't had the time to look into it.
>>>> 
>>>> I've just given it another go, and, to my eyes, it seems to have installed 
>>>> everything it should have:
>>>> 
>>>> 
>>>> /Library/Frameworks/MacRuby.framework
>>>> 
>>>> /usr/local/bin/macgem
>>>> /usr/local/bin/macirb
>>>> /usr/local/bin/macrake
>>>> /usr/local/bin/macrdoc
>>>> /usr/local/bin/macri
>>>> /usr/local/bin/macruby
>>>> /usr/local/bin/macruby_deploy
>>>> /usr/local/bin/macruby_select
>>>> /usr/local/bin/macrubyc
>>>> /usr/local/bin/macrubyd
>>>> 
>>>> 
>>>> Does anyone know if that is everything? Can I just ignore the installer 
>>>> error if the above is in place?
>>>> 
>>>> Cheers
>>>> --
>>>> Fb
>>>> 
>>>> _______________________________________________
>>>> MacRuby-devel mailing list
>>>> MacRuby-devel@lists.macosforge.org
>>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>> _______________________________________________
>>> MacRuby-devel mailing list
>>> MacRuby-devel@lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>> 
>> --
>> Stephen Horne
>> 
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel@lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

--
Stephen Horne

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to