-
Notifications
You must be signed in to change notification settings - Fork 11
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
Comments
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 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. |
On Thu, Jan 19, 2017 at 4:07 PM Mark Lee <notifications@github.com> wrote:
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.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#25 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAAYRS3H_hTWBOxUZzzmzJcIdVl9j_18ks5rT-yngaJpZM4Lotzh>
.
I use uru which is like rvm on windows. It changes the path to include the
ruby version first. For some reason when running thermite under that ruby
it doesn't look in the path of the ruby I'm using and just uses the system
ruby to search for the ruby to link with.
|
This is a bug in ruby-sys, not Thermite. I've filed an issue in ruby-sys for you. |
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
The text was updated successfully, but these errors were encountered: