[go: nahoru, domu]

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

Using github version of gem in gemfile #5

Closed
jsuchal opened this issue May 27, 2021 · 4 comments
Closed

Using github version of gem in gemfile #5

jsuchal opened this issue May 27, 2021 · 4 comments

Comments

@jsuchal
Copy link
jsuchal commented May 27, 2021

Sorry for bumping this, but seems like if i try to use version from github using

gem 'lightgbm', github: 'ankane/lightgbm'

I get

LoadError (Could not open library 'lib_lightgbm.so': lib_lightgbm.so: cannot open shared object file: No such file or directory.)

Seems like the release process adds these library files to vendor folder, but when using it directly it does not work. Any hints how I can use this?

@ankane
Copy link
Owner
ankane commented May 31, 2021

Hey @jsuchal, it's not ideal, but you'll need to fork the gem, download the shared libraries (bundle exec rake vendor:all), update .gitignore so they can be committed, and then commit them to the fork.

@jsuchal
Copy link
Author
jsuchal commented May 31, 2021

@ankane hmm, is there a reason why these files are not committed to this original repo?

@ankane
Copy link
Owner
ankane commented May 31, 2021

The files are somewhat large, so prefer to keep them out of Git.

@ankane ankane closed this as completed May 31, 2021
@jsuchal
Copy link
Author
jsuchal commented Jun 1, 2021

Understood, any ETA on a new release?

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