https://github.com/juanpablogil/jupyter-ruby-devcontainer
This repository is a lightweight setup to run Jupyter Notebooks with the IRuby kernel to support Ruby programming within the Jupyter ecosystem. It also includes support to ensure a consistent, reproducible development environment via Visual Studio Code Dev Containers.
https://github.com/juanpablogil/jupyter-ruby-devcontainer
jupyter-notebook ruby
Last synced: 3 months ago
JSON representation
This repository is a lightweight setup to run Jupyter Notebooks with the IRuby kernel to support Ruby programming within the Jupyter ecosystem. It also includes support to ensure a consistent, reproducible development environment via Visual Studio Code Dev Containers.
- Host: GitHub
- URL: https://github.com/juanpablogil/jupyter-ruby-devcontainer
- Owner: JuanPabloGil
- Created: 2025-01-07T17:15:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-08T06:04:02.000Z (over 1 year ago)
- Last Synced: 2025-03-14T07:27:35.903Z (over 1 year ago)
- Topics: jupyter-notebook, ruby
- Language: Jupyter Notebook
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Jupyter Notebook with IRuby Kernel
This README provides instructions for setting up and running Jupyter Notebook with the IRuby kernel.
## Using Visual Studio Code Dev Containers
This setup works seamlessly with Visual Studio Code Dev Containers, allowing you to develop in a consistent and isolated environment.
### Steps to Use Dev Containers
1. **Install Prerequisites**:
- Ensure you have [Visual Studio Code](https://code.visualstudio.com/) installed.
- Install the [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers).
2. **Clone the Repository**:
Clone your project repository if you haven’t already:
```bash
git clone https://github.com/JuanPabloGil/Jupyter-Ruby-DevContainer.git
```
#### Open in Dev Container:
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:
```bash
iruby register --force
```
Start the Jupyter Notebook Server: Start the server with:
```bash
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.