Skip to content

Instantly share code, notes, and snippets.

@ptheofan
Forked from stephanetimmermans/ubuntu-compass-ruby
Last active March 31, 2016 11:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ptheofan/3d17a2854af14c2c619ac65cb7d4027e to your computer and use it in GitHub Desktop.
Save ptheofan/3d17a2854af14c2c619ac65cb7d4027e to your computer and use it in GitHub Desktop.
Install Compass+Ruby on Ubuntu 14.04
# 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