Skip to content

Commit

Permalink
Revert back to the previous Sass path
Browse files Browse the repository at this point in the history
- This was changed in 73b09f6
- It seemed to intermittently break the importing of Bourbon in Rails apps
  • Loading branch information
Tyson Gach committed Mar 23, 2016
1 parent 090ef01 commit a462ed2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ project adheres to [Semantic Versioning](http://semver.org).

[Unreleased]: https://github.com/thoughtbot/bourbon/compare/v5.0.0.beta.4...HEAD

### Fixed

- Fixed a Sass load path issue that would intermittently break the importing of
Bourbon in Rails apps.

### Changed

- Swapped the order of the `$file-formats` and `$asset-pipeline` arguments in
Expand Down
5 changes: 4 additions & 1 deletion lib/bourbon.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
require "bourbon/generator"

bourbon_path = File.expand_path("../../core", __FILE__)
ENV["SASS_PATH"] = File.join([ENV["SASS_PATH"], bourbon_path].compact)
ENV["SASS_PATH"] = [
ENV["SASS_PATH"],
bourbon_path,
].compact.join(File::PATH_SEPARATOR)

0 comments on commit a462ed2

Please sign in to comment.