Closed waiting-for-dev closed 4 years ago
Hi @waiting-for-dev
Thank you for trying out IRuby.
I just tried your Dockerfile to see if the issue is reproduced. But IRuby seemed to work on my local computer with docker. So I can’t reproduce the situation.
sudo docker build .
sudo docker run -i -t -p 8080:8888 e614a3bb5074
The error message you post seems to indicate that ffi-rzmq & ffi-rzmq-core running as the IRuby backend cannot find the shared library libzmq.so
. PyzmqAdapter is called when the other adapter fails. It doesn't matter.
But To be honest, I ’m not familiar with Docker. So I might miss something. @mrkn may help you.
Hi @kojix2 ,
thanks for your quick reply. It was surprising to see that it was working for you, so I decided to compile the Dockerfile with a different name for the image and (embarrassingly) it is working! I'm neither an expert in Docker, so I guess there is some issue with cache and that I didn't have it into account.
I guess I can close it, as surely it was due to some previous bad Dockerfile I compiled with the same name.
Thanks again and keep up the good work!
I'm trying to have a very minimal installation of jupyter + iruby, as my requirements are also very minimal.
I've followed the steps detailed in README file. I'm using docker so this is my current Dockerfile
When I open a notebook and select Ruby driver, I get following error in logs:
I've tried a tone of things, but I always get the same error:
When I use
rubydata/datascience-notebook
image, then it works. But it carries a lot of stuff I don't need, at it is also true for theminimal
image in the same repo.As I'm following the exact instructions detailed in the README for an Ubuntu 18 OS with just jupyter and its dependencies in it (which is what
jupyter/base-notebook
image provides), I think there is some error in these instructions. Am I wrong?Thanks for any advice
P.S.: We're considering using jupyter + iruby as an interactive documentation tool for dry-rb ecosystem. This is the reason why my needs are so minimal.