doabit / semantic-ui-sass

Semantic UI, converted to Sass and ready to drop into Rails & Compass.
MIT License
1.15k stars 192 forks source link

Fix undefined method `start_with?' for /semantic-ui\/(basic\.)*icons\.(?:eot|svg|ttf|woff)$/:Regexp #87

Closed redrick closed 8 years ago

redrick commented 8 years ago

Hi guys,

this is fix for already closed #68.

I found out that this is not only problem with rails 5 which probably uses new sprockets but this is problem with sprockets 4 themselves.

My setup is: rails (= 4.2.5.2) sprockets (4.0.0.beta2) semantic-ui-sass (2.2.1.0)

EDIT: I left there rails 5 conditional since master rails does not necessarily depend on newest sprockets explicitly

doabit commented 8 years ago

Thanks.