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

Fix compass unpack error. Fixes #70

Add :path to Compass registration so "compass unpack" works without errors.
This commit is contained in:
John Albin Wilkins 2013-02-19 02:26:45 +08:00
parent 1a9cf0b342
commit dea4550106

View file

@ -34,7 +34,7 @@ module Bootstrap
base = File.join(File.dirname(__FILE__), '..') base = File.join(File.dirname(__FILE__), '..')
styles = File.join(base, 'vendor', 'assets', 'stylesheets') styles = File.join(base, 'vendor', 'assets', 'stylesheets')
templates = File.join(base, 'templates') templates = File.join(base, 'templates')
::Compass::Frameworks.register('bootstrap', :stylesheets_directory => styles, :templates_directory => templates) ::Compass::Frameworks.register('bootstrap', :path => base, :stylesheets_directory => styles, :templates_directory => templates)
end end
def self.register_rails_engine def self.register_rails_engine