spec/compass/config.rb in autoprefixer-rails-6.4.1 vs spec/compass/config.rb in autoprefixer-rails-6.4.1.1
- old
+ new
@@ -1,7 +1,5 @@
-require 'compass/import-once/activate'
-
http_path = "/"
css_dir = "stylesheets"
sass_dir = "sass"
images_dir = "images"
javascripts_dir = "javascripts"
@@ -9,10 +7,13 @@
sourcemap = true
output_style = :compressed
sass_options = { cache: false }
line_comments = false
-require 'autoprefixer-rails'
+require 'rubygems'
+require 'bundler'
+Bundler.require
+require '../../lib/autoprefixer-rails'
on_stylesheet_saved do |file|
css = File.read(file)
map = file + '.map'