Closed dauuricus closed 3 years ago
Thank you. Please continue development. The solution is below.
!apt-get update
!apt install libtool libffi-dev ruby-full make
!apt install libzmq3-dev libczmq-dev
!gem install ffi-rzmq
!gem install specific_install
#!gem specific_install https://github.com/SciRuby/iruby
!gem install iruby --pre
!iruby register --force
@dauuricus Thank you for your report. We don't regularly check the behavior of iruby in Google Colab, so we may not be aware of it unless you report it. If you find any other problems, please report them. Thank you.
Doesn't it mean that the recipe for installing the newly added gem native extension is not compatible with ubuntu?
@dauuricus The native-package-installer looks for Debian packages when no Ubuntu packages are specified. See here for more information. So there should be no lack of support for Ubuntu.
native-package-installer is a gem that uses a package manager to install C libraries when installing a gem. It is part of the ruby-gnome project. For example, if you type gem install gtk3
, you will be asked for root privileges, enter your password, and the required libraries will be installed automatically.
iruby depends on ffi-rzmq. ffi-rzmq depends on libzmq. native-package-installer will automatically install libzmq when iruby gem is installed. This makes installation easier.
It seems that the solution is easier than I thought. Just install rake.
!apt-get update
!apt install libtool libffi-dev ruby-full make
!apt install libzmq3-dev
!gem install rake
!gem install specific_install
!gem specific_install https://github.com/SciRuby/iruby
!iruby register
Good luck!
@kojix2 とても参考になります。
Until about a week ago, I was able to use it on google colab without any problems, but now it fails. Probably due to the changes within the last week. I just noticed something wrong, so I still don't know the cause.
colab bash
results