Created
January 28, 2014 18:04
-
-
Save wesbillman/8672903 to your computer and use it in GitHub Desktop.
lol setup
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
//install dependencies | |
sudo apt-get update | |
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev | |
//install rbenv | |
cd | |
git clone git://github.com/sstephenson/rbenv.git .rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc | |
echo 'eval "$(rbenv init -)"' >> ~/.bashrc | |
exec $SHELL | |
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc | |
exec $SHELL | |
rbenv install 1.9.2-p290 | |
rbenv global 1.9.2-p290 | |
ruby -v | |
//make gem installs quicker | |
echo "gem: --no-ri --no-rdoc" > ~/.gemrc | |
//install mysql clients | |
sudo apt-get install mysql-server mysql-client libmysqlclient-dev | |
//finally, it's probably best if you can clone the current rails project into the new box at whatever location you want it to live. I should be able to take it from there. | |
Thanks! | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment