Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Rails 3.1 compatible branch doesn't work w/o Asset Pipeline #84

Closed
wants to merge 3 commits into from

5 participants

rbq Urban Hafner Francesco Rodríguez Matt Boehlig José Valim
rbq

Please fix the Rails 3.1 compatible branch and release a version 3.1.6.

Thanks!

CHANGELOG.md
@@ -1,6 +1,10 @@
CHANGELOG
=========
+3.1.6 (Dec 24, 2011)
+---------------------
+* Fixing #64 (incompatibility with deactivated Asset Piepeline)

typo in Pipeline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Urban Hafner

It's also possible to fake the asset pipeline for the benefit of sass-rails: http://bettong.net/2012/03/07/using-sass-rails-3-dot-1-5-without-the-asset-pipeline-on-rails-3-dot-1-4/

Qingfeng Frank Duan fduan referenced this pull request from a commit in fduan/sass-rails
Frank Duan make sass-rails work for rails 3.1 app without asset pipeline enabled…
… - applied the fixes for issues #81 and #84
de76a03
Qingfeng Frank Duan fduan referenced this pull request from a commit in fduan/sass-rails
Frank Duan make sass-rails work for rails 3.1 app without asset pipeline enabled…
… - applied the fixes for issues #81 and #84 - fixed typo
d00cb68
Francesco Rodríguez

This PR is no longer valid 636f668 /cc @rafaelfranca

Francesco Rodríguez frodsan closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 22, 2011
  1. José Valim rbq

    Check if app.assets is set before using it.

    josevalim authored rbq committed
    (cherry picked from commit 636f668)
  2. rbq

    updating version number

    rbq authored
Commits on Jan 16, 2012
  1. rbq

    fixing typo

    rbq authored
This page is out of date. Refresh to see the latest.
4 CHANGELOG.md
View
@@ -1,6 +1,10 @@
CHANGELOG
=========
+3.1.6 (Dec 24, 2011)
+---------------------
+* Fixing #64 (incompatibility with deactivated Asset Pipeline)
+
3.1.5.rc.1 (Oct 16, 2011)
---------------------
* Several bug fixes
7 lib/sass/rails/railtie.rb
View
@@ -58,8 +58,11 @@ module SassContext
# Display a stack trace in the css output when in development-like environments.
config.sass.full_exception = app.config.consider_all_requests_local
end
- app.assets.context_class.extend(SassContext)
- app.assets.context_class.sass_config = app.config.sass
+
+ if app.assets
+ app.assets.context_class.extend(SassContext)
+ app.assets.context_class.sass_config = app.config.sass
+ end
Sass.logger = app.config.sass.logger
end
2  lib/sass/rails/version.rb
View
@@ -1,5 +1,5 @@
module Sass
module Rails
- VERSION = "3.1.5"
+ VERSION = "3.1.6"
end
end
Something went wrong with that request. Please try again.