[MacRuby] #1500: Install script not finding Xcode
MacRuby
ruby-noreply at macosforge.org
Sun May 6 19:12:47 PDT 2012
#1500: Install script not finding Xcode
------------------------------+---------------------------------------------
Reporter: fatste@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: MacRuby | Keywords: install installer xcode location
------------------------------+---------------------------------------------
The installer was failing part way through the installation process, but
after it had copied all the files into the framework.
the error message was:
"An error occurred while running scripts from the package
“macruby_nightly-2012-05-02.pkg”"
Mark Rada pointed me to this script:
https://github.com/MacRuby/MacRuby/blob/master/misc/release/package_script/postinstall
which I discovered was failing on this line:
"XCODE_DIR=`xcode-select -print-path`"
I ran:
"sudo xcode-select -switch '/Developer'"
which allowed the installer to finish.
--
Ticket URL: <http://www.macruby.org/trac/ticket/1500>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list