Permalink
Browse files

ensure that instances boot with compass-rails in the proper order

require compass-rails in the rails/init.rb to set ordering
remove references to old compass/rails initialization options
  • Loading branch information...
1 parent 2e255eb commit c846b32ad2d0e489a8282d743bf95c3bbe5e1212 @saturnflyer saturnflyer committed Aug 25, 2012
Showing with 3 additions and 9 deletions.
  1. +0 −3 config/compass.config
  2. +0 −6 config/initializers/compass.rb
  3. +2 −0 config/initializers/tmp.rb
  4. +1 −0 rails/init.rb
View
@@ -1,5 +1,4 @@
project_type = :rails
-project_path = Compass::AppIntegration::Rails.root
http_path = "/"
http_stylesheets_path = "/stylesheets"
@@ -11,8 +10,6 @@ css_dir = "public/stylesheets"
images_dir = "public/images"
javascripts_dir = "public/javascripts"
-environment = Compass::AppIntegration::Rails.env
-
relative_assets = true
output_style = :compressed
@@ -1,6 +0,0 @@
-require 'fileutils'
-FileUtils.mkdir_p(Rails.root.join("tmp", "stylesheets"))
-
-require 'compass'
-require 'compass/app_integration/rails'
-Compass::AppIntegration::Rails.initialize!
@@ -0,0 +1,2 @@
+require 'fileutils'
+FileUtils.mkdir_p(Rails.root.join("tmp", "stylesheets"))
View
@@ -0,0 +1 @@
+require 'compass-rails'

0 comments on commit c846b32

Please sign in to comment.