Created
August 9, 2012 10:28
-
-
Save vitobotta/3303072 to your computer and use it in GitHub Desktop.
.rvmrc template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (uname -a | grep '12.0.0 Darwin' >/dev/null); then | |
CC=/usr/bin/gcc-4.2 CPPFLAGS=-I/opt/X11/include rvm --install --create --disable-tcl --disable-tk use <ruby version>@<gemset name> | |
else | |
rvm --install --create --disable-tcl --disable-tk use <ruby version>@<gemset name> | |
fi | |
if ! which bundle >/dev/null; then | |
gem install bundler --pre --no-ri --no-rdoc && bundle install | |
fi | |
if ! bundle check >/dev/null; then | |
bundle install | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment