-
Notifications
You must be signed in to change notification settings - Fork 79
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
cannot load such file -- ffi on windows #150
Comments
Sorry, I misread your comment. This is likely because you are running your application via Bundler. With Bundler, your Hope that helps! |
You're right, but I also don't have gem 'childprocess' in my Gemfile explicitly, other gems depend on it. The same way 'ffi' should be a runtime dependency of 'childprocess'. |
Ah, understood. This is an unfortunate case, but there are good reasons we don't include the Whichever gems are depending on |
Following up here to say we've removed the magic |
after this change #132
ffi gem isn't part of the gemspec anymore and bundler doesn't require such dependencies
require 'ffi'
will raise an errorLoadError: cannot load such file -- ffi
even if the gem is actually installedbacktrace
if I add
gem 'ffi'
into app's Gemfile it works fine, but I think that childprocess should require it as a dependency, not just install the gem under the hood.The text was updated successfully, but these errors were encountered: