Skip to content

Instantly share code, notes, and snippets.

@amites
Last active December 3, 2017 22:39
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save amites/f94fa381115abb7b7a47 to your computer and use it in GitHub Desktop.
Save amites/f94fa381115abb7b7a47 to your computer and use it in GitHub Desktop.
bash script to install sass/compass onto centos
#! /bin/bash
# Sass: http://sass-lang.com/
# Sass is a "smart" form of css, supporting nested targeting of html, variables and logic
# scss is a variant of sass using a syntax much closer to css
# Compass: http://compass-style.org/
# Compass is a sass framework containing a range of shortcuts for cross-browser css effects.
# rounded corners, transparency...
# and a command line tool to compile sass/scss into css
# compass compile # compile sass into css using config.rb (see site for more)
# compass watch # auto-compile on file changes to sass
yum install -y ruby-devel rubygems
gem install compass json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment