From 849a66f114ea0c952ad85c8eebc0ad1551cfc9bd Mon Sep 17 00:00:00 2001 From: Rodrigo Rosenfeld Rosas Date: Fri, 1 Jan 2016 01:13:36 -0200 Subject: [PATCH] Remove dependency on full Rails `railties` has most of Rails dependencies and will not depend on `activerecord` for example. Since we use Sequel rather than ActiveRecord, requiring sassc was the culprit for adding activerecord to the bundle for no good reason. --- sassc-rails.gemspec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sassc-rails.gemspec b/sassc-rails.gemspec index f16349f..b5d5bea 100644 --- a/sassc-rails.gemspec +++ b/sassc-rails.gemspec @@ -30,6 +30,7 @@ Gem::Specification.new do |spec| spec.add_dependency "tilt" - spec.add_dependency 'rails', '>= 4.0.0' + spec.add_dependency 'railties', '>= 4.0.0' spec.add_dependency 'sprockets', '> 2.11' + spec.add_dependency 'sprockets-rails' end