bcardiff / icrystal

Jupyter kernel for the Crystal language
MIT License
11 stars 1 forks source link

Crystal jupyter Kernel on top of the project #3

Open alexkutsan opened 10 months ago

alexkutsan commented 10 months ago

I have tried to run jupyter lab in a folder with file "myfile.cr" located and started crystal kernel there. Then tried to request my file, but looks like current path is not similar as directory, where I started the jupyter lab and not similar as place where notebook created.

Could you tip me on how could I require files of locally stored project?

image
alexkutsan commented 10 months ago

It does not work even after changing current dir

image

But it works if I specify relative path from temproary icrystal dir : require "../../proj/myfile.cr" is there any way to change current directory from where icrystal repl started ?