After messing up the permissions on my original OSX installation I decided to create a new partition with a new installation of Mavericks.
All's fine until I try to install ruby and get the error
/bin/sh: /Volumes/Macintosh: No such file or directory
"/Volumes/Macintosh" is a trimmed "/Volumes/Macintosh HD" which is where the original OSX installation is on the original partition. I assume it's still required for booting.
Why is the new installation on the new partition looking at the original when trying to install Ruby, and other things, and how do I stop it?
Any help would be greatly appreciated
Thanks, Steve
Update: Installing ruby using "rvm install 2.1" gives me the error -
Error running 'requirements_osx_brew_libs_install libksba', showing last 15 lines of
/Users/bigmac/.rvm/log/1394034844_ruby-2.1.1/package_install_libksba.log
==> Downloading ftp://ftp.gnupg.org/gcrypt/libksba/libksba-1.3.0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/libksba-1.3.0.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/libksba/1.3.0
==> make install
Making install in m4
/bin/sh: /Volumes/Macintosh: No such file or directory
make: *** [install-recursive] Error 1
The solution I used was to fix my original installation permissions. I did this by restarting the Mac and holding down CMD-R then selecting Reinstall OS X following the instruction here:
http://support.apple.com/kb/PH13871
The [re]installation completely restored all permissions without affecting data. Problem solved.