Skip to content

Instantly share code, notes, and snippets.

@facelordgists
Created April 18, 2013 21:55
Show Gist options
  • Save facelordgists/5416559 to your computer and use it in GitHub Desktop.
Save facelordgists/5416559 to your computer and use it in GitHub Desktop.
RUBY: Guard Gemfile with support for SASS, Compass, LiveReload
# ~/Gemfile
source "http://rubygems.org"
group :development do
gem 'sass' # Sass.
gem 'sass-globbing' # Import Sass files based on globbing pattern.
gem 'compass' # Framework built on Sass.
gem 'compass-validator' # So you can `compass validate`.
gem 'oily_png' # Faster Compass sprite generation.
gem 'css_parser' # Helps `compass stats` output statistics.
gem 'guard' # Guard event handler.
# Dependency to prevent polling. Setup for multiple OS environments.
# Optionally remove the lines not specific to your OS.
# https://github.com/guard/guard#efficient-filesystem-handling
gem 'rb-inotify', :require => false # Linux
gem 'rb-fsevent', :require => false # Mac OSX
gem 'rb-fchange', :require => false # Windows
gem 'guard-compass' # Compile on sass/scss change.
gem 'guard-shell' # Run shell commands.
gem 'guard-livereload' # Browser reload.
gem 'yajl-ruby' # Faster JSON with LiveReload in the browser.
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment