This README provides instructions for setting up and running Jupyter Notebook with the IRuby kernel.
This setup works seamlessly with Visual Studio Code Dev Containers, allowing you to develop in a consistent and isolated environment.
-
Install Prerequisites:
- Ensure you have Visual Studio Code installed.
- Install the Dev Containers extension.
-
Clone the Repository: Clone your project repository if you haven’t already:
git clone https://github.com/JuanPabloGil/Jupyter-Ruby-DevContainer.git
Open the folder in Visual Studio Code.
When prompted, click Reopen in Container. If not prompted, use the Command Palette (Ctrl+Shift+P
or Cmd+Shift+P
on macOS) and select Remote-Containers: Reopen in Container.
Build and Register the IRuby Kernel: Inside the Dev Container terminal, run:
iruby register --force
Start the Jupyter Notebook Server: Start the server with:
jupyter notebook --ip 0.0.0.0 --port 8888 --no-browser --allow-root
Select the IRuby Kernel: Once the notebook interface is open in your browser, choose the IRuby kernel from the kernel selection menu.