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

Configure Ruby with option --enable-shared for Rice #3

Closed
kojix2 opened this issue Dec 5, 2019 · 5 comments
Closed

Configure Ruby with option --enable-shared for Rice #3

kojix2 opened this issue Dec 5, 2019 · 5 comments

Comments

@kojix2
Copy link

kojix2 commented Dec 5, 2019

Hello.
Thank you for developing a great library.

I wrote an article at Qiita about trying mnist on Torch-rb. (Japanese)
https://qiita.com/kojix2/items/c19c36dc1bf73ea93409

I had to reinstall the ruby for rice.

  • Ubuntu 19.04 rbenv ruby 2.6.5
CONFIGURE_OPTS="--enable-shared" rbenv install 2.6.5

Other than that, there was no problem.

Thank you. And good luck!

@kojix2 kojix2 closed this as completed Dec 5, 2019
@ankane
Copy link
Owner

ankane commented Dec 5, 2019

Awesome, thanks @kojix2!

How did you install rbenv? --enabled-shared is the default in newer versions.

@ankane
Copy link
Owner

ankane commented Dec 6, 2019

Also, added the link to the readme :) Let me know if there's something better than 日本語版.

@kojix2
Copy link
Author

kojix2 commented Dec 6, 2019

How did you install rbenv?

I installed rbenv according to the README, so I don't think I did anything unusual. Maybe.

added the link to the readme

Wow. It's just a small blog post. It's nothing. Thanks ! 日本語版 is fine.

@ankane
Copy link
Owner

ankane commented Dec 6, 2019

When you say the readme, are you referring to the GitHub checkout method? Also, how did you install ruby-build?

Edit: maybe more importantly, did you install it recently or over a month ago?

@kojix2
Copy link
Author

kojix2 commented Dec 7, 2019

are you referring to the GitHub checkout method?

Yes.

Did you install it recently or over a month ago?

Yes. Now I found the commit below in ruby-build.
rbenv/ruby-build@dd1562e
It was because I built Ruby more than a month ago. Thanks.

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