Skip to content

Instantly share code, notes, and snippets.

@KatieK2
Last active August 29, 2015 14:08
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 KatieK2/71a18a2801b8a272a28b to your computer and use it in GitHub Desktop.
Save KatieK2/71a18a2801b8a272a28b to your computer and use it in GitHub Desktop.
autoprefixer-rails-3.1.2.20141016
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "./"
sass_dir = "./sass"
images_dir = "../images/site-styles"
javascripts_dir = "../js"
# You can select your preferred output style here (can be overridden via the command line):
output_style = :nested # :expanded or :nested or :compact or :compressed
# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true
# To disable debugging comments that display the original location of your selectors. Uncomment:
line_comments = false
require 'autoprefixer-rails'
on_stylesheet_saved do |file|
css = File.read(file)
File.open(file, 'w') do |io|
io << AutoprefixerRails.process(css)
end
end
on_stylesheet_saved do |file|
puts ">>>> ZOMG"
end
#http://technosailor.com/2011/11/02/tutorial-using-sass-and-compass-for-managing-css-in-wordpress/
source 'https://rubygems.org'
gemspec
gem 'rake'
gem 'rails'
gem 'sass-rails'
gem 'rspec-rails'
gem 'therubyrhino', platforms: 'jruby'
gem 'therubyracer', platforms: ['mri', 'rbx']
gem 'racc', platforms: 'rbx'
gem 'rubysl', platforms: 'rbx'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment