-
Notifications
You must be signed in to change notification settings - Fork 30
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
iruby does not install/work with Ubuntu snap install of ruby? #310
Comments
Hi! Does the following commands return the same error? |
Yes
still happens after
|
In ffi-rzmq-core, the search for libzmq.so looks like this. require 'ffi'
module LibZMQ
extend FFI::Library
p ffi_lib(["libzmq"]) # [#<FFI::DynamicLibrary:0x000055958f13e5c8 @name="libzmq.so">]
end Here, the string libzmq is passed instead of the file path. Do you get any errors running the code above? (You will probably get an error.) The ffi dlopen seems to search for shared libraries under /usr/lib. Is libzmq.so installed in the usual place?
If you have libzmq.so under /usr/lib |
Thanks for the work on iruby
TL,DR: Does anyone know how to get iruby to work with the snap install of ruby?
(the snap is an official build from rubylang dev team)
So I have Ubuntu 20.04 running
ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux]
,installed from the official snap package https://snapcraft.io/ruby
I followed the install instructions from https://github.com/SciRuby/iruby#ubuntu-17, without apt install ruby packages since they and gem/bundle are already installed from the snap.
When I try to run iruby:
I then ran
./.gem/bin/iruby register --force
After that ruby is an option in jupyter notebook, jupyter lab, but code highlighting doesn't work , and the ruby code cell run indefinitely without output:
zeromq is installed through
libzmq3-dev
Also, after quitting iruby, (ctrl-c + y to exit), it seemed there was still a ruby child process consuming CPU.
Thanks,
The text was updated successfully, but these errors were encountered: