Closed JonnyCBB closed 6 years ago
Turns out that kernelspecs
uses the jupyter-paths package to locate the kernel directories and its the jupyter-paths dataDirs
method that misses the directory containing the ruby kernel so I'm going to close this issue here and open another one in the jupyter-paths repo.
I've run:
require('kernelspecs').findAll().then(console.log)
which doesn't return the Ruby kernel on my machine. This is the response I get:However, running
jupyter kernelspec list --json
does return the Ruby kernel. Here's the response:and I can create and Jupyter notebook where I can happily evaluate Ruby commmands.
I followed the Mac instructions on the IRuby repo to get the kernel but I don't know why I can't get it using kernelspecs.