Created
April 2, 2013 10:30
-
-
Save nalabjp/5291309 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/sh | |
[ -f /opt/boxen ] && rm -fr /opt/boxen | |
sudo rm -fr /opt/boxen | |
sudo mkdir -p /opt/boxen | |
sudo chown $USER:admin /opt/boxen | |
git clone https://github.com/nalabjp/our-boxen /opt/boxen/repo | |
/opt/boxen/repo/script/boxen --no-fde | |
echo '# boxen' >> ~/.bash_profile | |
echo '[ -f /opt/boxen/env.sh ] && source /opt/boxen/env.sh' >> ~/.bash_profile | |
echo '[ -f /opt/boxen/nvm/nvm.sh ] && source /opt/boxen/nvm/nvm.sh' >> ~/.bash_profile | |
echo '# rbenv' >> ~/.bash_profile | |
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile | |
echo '' >> ~/.bash_profile | |
source ~/.bash_profile | |
rbenv global 1.9.3-p392 | |
echo 'Complete exec_boxen.sh' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment