Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'There are no more files' error with Ruby 2.7..3 & Windows 7 (might be ffi related) #226

Open
c-sonnier opened this issue Sep 15, 2021 · 1 comment

Comments

@c-sonnier
Copy link

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.

@ahorek
Copy link

ahorek commented Nov 4, 2021

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? #224 could be related, but it's just a guess. You need a better backtrace than this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants