![]() ** NOTE: Currently, Node.js is having issues building with osx-gcc-installer. ![]() Afterwards you may install Xcode 4.2+ or Command Line Tools for Xcode if you desire. Warning: Installing osx-gcc-installer on top of a recent Xcode is known to cause problems, so you must uninstall Xcode before installing osx-gcc-installer. If you don't use Homebrew, you can download and install osx-gcc-installer. ![]() Xcode 4.2+ install or/and Command Line Tools for Xcode is required to provide make and other tools. If you are using Homebrew, you can install the apple-gcc42 and required libraries from homebrew/dupes:īrew install autoconf automake apple-gcc42 If you don't have gcc-4.2, you have two options to get it: If you have gcc-4.2 (and friends) from an earlier Xcode version, Ruby will build fine. Xcode 4.2 and later (including Command Line Tools for Xcode): Xcode 4.1 was the last version to ship gcc, which was /usr/bin/gcc-4.2. Instead they ship with llvm-gcc (to which gcc is a symlink) and clang, neither of which are supported for building Ruby. Right now Ruby requires gcc to compile, but Xcode 4.2 and later no longer ship with gcc. Rvm system rvm gemset export system.gems rvm 1.8.7 rvm gemset import system.gems # migrate your gems Rvm install 1.8.7 # installs patch 357: closest supported version To use an RVM installed Ruby as default, instead of the system ruby: See # Current Java version "1.6.0_26"įor Ruby 1.9.3: Install libksba # If using Homebrew, 'brew install libksba'
0 Comments
Leave a Reply. |