Last active
August 29, 2015 13:57
-
-
Save zarazan/9612391 to your computer and use it in GitHub Desktop.
Rails-Ubuntu
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
#!/bin/bash | |
set -e | |
echo "Update Linux Packages" | |
sudo apt-get update -y | |
echo "Install Required Linux Packages" | |
sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev nodejs -y | |
echo "Install ImageMagick" | |
sudo apt-get install imagemagick --fix-missing -y | |
echo "Install RVM" | |
curl -L get.rvm.io | bash -s stable | |
source ~/.rvm/scripts/rvm | |
echo "Install Ruby" | |
rvm install 1.9.3 | |
rvm use 1.9.3 --default | |
echo -n "RVM Version:" | |
rvm --version | |
echo -n "Ruby Version:" | |
ruby -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment