Created
May 2, 2012 18:10
-
-
Save masaki/2578828 to your computer and use it in GitHub Desktop.
setup OSX slave
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
RC_FILE=$HOME/.bashrc | |
echo "insecure" >> $HOME/.curlrc | |
ruby -e "$(curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)" | |
curl -fksSL install.perlbrew.pl | bash | |
curl -fksSL get.rvm.io | bash -s stable | |
echo "source $HOME/perl5/perlbrew/etc/bashrc" >> $RC_FILE | |
echo "source $HOME/.rvm/scripts/rvm" >> $RC_FILE | |
echo "export PERL_BADLANG=0" >> $RC_FILE | |
echo "export PATH=/usr/local/bin:/usr/local/sbin:$PATH" >> $RC_FILE | |
echo "export PATH=$HOME/perl5/perlbrew/bin:$PATH" >> $RC_FILE | |
echo "export PATH=$HOME/.rvm/bin:$PATH" >> $RC_FILE | |
source $RC_FILE | |
brew install git zsh wget | |
brew install selenium-server-standalone chromedriver | |
perlbrew install --notest perl-5.14.2 | |
perlbrew switch perl-5.14.2 | |
perlbrew install-cpanm | |
rvm install ruby-1.9.3 | |
rvm use ruby-1.9.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment