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

Error using gem on Windows #9

Open
justjoehere opened this issue Aug 17, 2017 · 0 comments
Open

Error using gem on Windows #9

justjoehere opened this issue Aug 17, 2017 · 0 comments

Comments

@justjoehere
Copy link

I have liblinear installed and accessible via the path. SWIG.exe is also accessible via the path.

I installed the gem via gem install 'liblinear-ruby' and did not have any errors.

Then in my file, I have require 'liblinear'

This resulted in the following error message:
2.2.0/rubygems/core_ext/kernel_require.rb:54:in require': 193: %1 is not a valid Win32 application. - C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/extensions/x86-mingw32/2.2.0/liblinear-ruby-1.0.2/liblinearswig.so (LoadError)`

I did verify that liblinearswig.so existed in the directory listed. It seems to fail to find the require 'liblinearswig' in C:\RailsInstaller\Ruby2.2.0\lib\ruby\gems\2.2.0\gems\liblinear-ruby-1.0.2\lib\liblinear.rb

Any help would be appreciated

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

1 participant