Skip to content

Instantly share code, notes, and snippets.

@godfat
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save godfat/ecdb9ba0191bcaa6e67d to your computer and use it in GitHub Desktop.
Save godfat/ecdb9ba0191bcaa6e67d to your computer and use it in GitHub Desktop.
rubinius on mac
sudo mv /usr/include/c++ /usr/include/c++.bak # avoid conflicting, might not be needed
brew install --HEAD ruby-install
brew tap homebrew/versions
brew install llvm35 --with-libcxx --with-clang --with-lld --all-targets --rtti
env CC=clang-3.5 CXX=clang++-3.5 CXXFLAGS=-stdlib=libc++ LDFLAGS='-L/usr/local/lib/llvm-3.5/usr/lib -lc++' ruby-install rbx -- --llvm-config llvm-config-3.5
sudo mv /usr/include/c++.bak /usr/include/c++ # restore g++ headers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment