ankane / torch.rb

Deep learning for Ruby, powered by LibTorch
Other
728 stars 31 forks source link

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

Closed kojix2 closed 4 years ago

kojix2 commented 4 years ago

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.

Thank you. And good luck!

ankane commented 4 years ago

Awesome, thanks @kojix2!

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

ankane commented 4 years ago

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

kojix2 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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. https://github.com/rbenv/ruby-build/commit/dd1562ed65f0d681669903eaf4c5764de789a0db It was because I built Ruby more than a month ago. Thanks.