Last active
August 29, 2015 14:05
-
-
Save joxxoxo/c603a6200b326a81195d to your computer and use it in GitHub Desktop.
Script to setup dev environment
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/bash | |
set -e | |
# requirements | |
sudo apt-get install -y aptitude | |
sudo aptitude update && sudo aptitude upgrade | |
sudo aptitude -y install mysql-server subversion git curl libmysqlclient-dev \ | |
build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev \ | |
libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison \ | |
gawk libgdbm-dev libffi-dev | |
# imagemagick | |
sudo aptitude install -y imagemagick libmagickwand-dev | |
# nokogiri | |
sudo aptitude install -y libxslt-dev libxml2-dev | |
# For capybara-webkit | |
# v.4 | |
#sudo aptitude install -y libqtwebkit-dev qt4-dev-tools libqt4-dev libqt4-core libqt4-gui | |
#v.5 ?! | |
sudo aptitude install -y libqt5webkit5-dev | |
# for passenger | |
sudo aptitude install -y libcurl4-openssl-dev | |
# Other things | |
sudo aptitude install -y redis-server exuberant-ctags nodejs zsh tmux vim | |
chsh -s $(which zsh) | |
zsh | |
# rvm | |
\curl -sSL https://get.rvm.io | bash -s stable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment