Open c-sonnier opened 3 years ago
why do you load sassc in sidekiq? do you have any background jobs that compile sass at runtime? these gems are usually disabled on the production
the error means that that library cannot be opened, usually because there're some missing dependent libraries. Do you have a devkit installed? https://github.com/sass/sassc-ruby/pull/224 could be related, but it's just a guess. You need a better backtrace than this.
This might be related to ffi but wanted to post here to see if others have experienced a similar issue. This issue has appeared after having the application running without any errors. When I try starting up Sidekiq on a custom application, I get the following error:
C:/Ruby27/lib/ruby/gems/2.7.0/gems/ffi-1.15.4-x86-mingw32/lib/ffi/library.rb:145:in block in ffi_lib': Could not open library 'C:/Ruby27/lib/ruby/gems/2.7.0/gems/sassc-2.4.0/ext/libsass.so': There are no more files.\r (LoadError)`
Has anyone else had this issue? The file exists in the location so it's not missing.
I've tried reinstalling sassc gem and install goes okay, but I still have this issue when trying to run the application. Again it was originally working and nothing changed between start/stop of the application.