Forked from stephanetimmermans/ubuntu-compass-ruby
Last active
March 31, 2016 11:38
-
-
Save ptheofan/3d17a2854af14c2c619ac65cb7d4027e to your computer and use it in GitHub Desktop.
Install Compass+Ruby on Ubuntu 14.04
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
# for ZSH users | |
sudo apt-get update | |
sudo apt-get install -y git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties | |
sudo apt-get install -y libgdbm-dev libncurses5-dev automake libtool bison libffi-dev | |
# switch to BASH | |
exec bash | |
curl -L https://get.rvm.io | bash -s stable | |
# (if you get error follow the on screen instructions to add the signatures) | |
echo "source ~/.rvm/scripts/rvm" >> ~/.zshrc | |
rvm install 2.1.2 | |
# switch back to zsh if you're with zsh - simply close the bash terminal window | |
exit | |
source ~/.zshrc | |
rvm use 2.1.2 --default | |
ruby -v | |
gem install compass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment