ionicons-rails icon indicating copy to clipboard operation
ionicons-rails copied to clipboard

NoMethodError: undefined method `start_with?' for /ionicons\.(?:eot|svg|ttf|woff)$/:Regexp

Open tanwcw opened this issue 7 years ago • 4 comments

Rails has deprecated precompiling regex (rails/sprockets-rails#269) from Sprockets 3 onwards.

tanwcw avatar Oct 13 '16 18:10 tanwcw

Fixed in #12

tanwcw avatar Oct 13 '16 19:10 tanwcw

Same Error

richpeck avatar Oct 14 '16 16:10 richpeck

@tanwcw @richpeck I updated my rails 6 application to use https://rubygems.org/gems/sprockets/versions/4.0.0 and I also got this error.

Any idea on how to fix this?

abepark01 avatar Oct 13 '19 04:10 abepark01

I fixed in https://github.com/umhan35/ionicons-rails/pull/14.

But since this library appears to be no longer maintained, you may want to stop managing ionicon fonts in this library and place ionicon fonts directly in your own apps.

h-shima avatar Nov 18 '20 12:11 h-shima