mirror of
https://github.com/twbs/bootstrap-sass.git
synced 2022-11-09 12:27:02 -05:00

Prior to this, functions in sprockets-sass conflicted with ours and caused an infinite loop and StackError. This fixes thomas-mcdonald/bootstrap-sass#257 Note that Sprockets' asset_path requires configuration if it's not already configured by your framework. For example, in a simple Rack app, add the following to your config.ru: environment.context_class.class_eval do def asset_path(path, options = {}) "/assets/#{path}" end end
7 lines
No EOL
170 B
Ruby
7 lines
No EOL
170 B
Ruby
$:.unshift("#{File.dirname(__FILE__)}/..")
|
|
|
|
require 'test/unit'
|
|
|
|
require 'sass'
|
|
require 'lib/bootstrap-sass/compass_functions'
|
|
require 'lib/bootstrap-sass/sass_functions' |