ionicons-rails
ionicons-rails copied to clipboard
NoMethodError: undefined method `start_with?' for /ionicons\.(?:eot|svg|ttf|woff)$/:Regexp
Rails has deprecated precompiling regex (rails/sprockets-rails#269) from Sprockets 3 onwards.
Fixed in #12
Same Error
@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?
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.