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

LD_LIBRARY_PATH for ruby #25

Closed
dsisnero opened this issue Jan 19, 2017 · 3 comments
Closed

LD_LIBRARY_PATH for ruby #25

dsisnero opened this issue Jan 19, 2017 · 3 comments

Comments

@dsisnero
Copy link

I have multiple rubies installed on windows and it was linking against the wrong ruby. It would be nice if the cargo.rb file set the LD_LIBRARY_PATH and LD_LIBRARY using rbconfig

@malept
Copy link
Owner

malept commented Jan 19, 2017

How do you switch between rubies normally?

I think that this is a user configuration problem, rather than a Thermite problem. There's no reason why you can't set LD_LIBRARY_PATH before running rake thermite:build. This variable's always going to be different between different environments, especially if you use different ruby managers (RVM, rbenv, chruby/ruby-install).

If you disagree with this reason, please describe how you think it would work from your point of view, and then how it would work from the view of someone else who's building your extension on a different machine and possibly different operating system.

@dsisnero
Copy link
Author

dsisnero commented Jan 20, 2017 via email

@malept
Copy link
Owner

malept commented Jan 20, 2017

This is a bug in ruby-sys, not Thermite. I've filed an issue in ruby-sys for you.

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