From 533ece86ba35c30206a4f9d5e9854c1be69188cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benoit=20B=C3=A9n=C3=A9zech?= Date: Wed, 12 Oct 2011 18:43:01 +0300 Subject: [PATCH] You can't use bootstrap-sass without sass-rails, so you need to require it (gemspec dependency are not automatically required). When used from an engine, this ended up in weird races conditions when sass-rails wasn't present in main_app's Gemfile (which requires it by default). Should fix https://github.com/sferik/rails_admin/issues/759 --- lib/bootstrap-sass.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/bootstrap-sass.rb b/lib/bootstrap-sass.rb index 5b75a44f72..38d1c8835e 100644 --- a/lib/bootstrap-sass.rb +++ b/lib/bootstrap-sass.rb @@ -1,3 +1,5 @@ +require 'sass-rails' + module Bootstrap module Rails class Engine < ::Rails::Engine