-
-
Save vernalkick/6045366 to your computer and use it in GitHub Desktop.
How to install everything you need to compile Sass files and include the Bourbon library).
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
# lol redhat | |
su | |
# Install deps | |
yum install libyaml libyaml-devel openssl libxml2-devel bison libxslt-devel openssl-devel tcl tk libffi tcl-devel tk-devel libffi-devel | |
# Download Ruby | |
cd /usr/local/src/ | |
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz | |
tar -xvzf ruby-1.9.3-p392.tar.gz | |
cd ruby-1.9.3-p392 | |
# Install gcc compiler | |
yum install gcc gcc-c++ autoconf automake | |
# Compile Ruby from Source | |
./configure | |
make | |
make test | |
make install | |
ruby -v | |
# Install things for SASS | |
gem install bundler | |
gem install sass | |
gem install listen | |
gem install rails | |
# Install bourbon | |
gem install bourbon | |
# Navigate to your scss folder and run | |
bourbon install | |
# Watch the scss folder | |
sass --watch scss:css | |
# Run in the background (see: http://superuser.com/questions/493186/nohup-sass-process-keeps-running-but-after-a-while-scss-files-do-not-get and http://www.tuanleaded.com/blog/2013/03/sass-watch-in-background/) | |
screen | |
sass --watch scss:css 2>&1 | tee sass.log | |
ctrl+a d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment