Skip to content

Commit 51bb035

Browse files
author
brainopia
committed
Prevent sass-rails railtie from running, fixes #6
1 parent 441aaed commit 51bb035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sassc-rails.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
begin
22
require "sass-rails"
3-
Sass::Rails.send(:remove_const, :Railtie)
3+
Rails::Railtie.subclasses.delete Sass::Rails::Railtie
44
rescue LoadError
55
end
66

0 commit comments

Comments
 (0)