Skip to content

Commit 01a8c77

Browse files
tikksskou
authored andcommitted
💚 Specify the kernel name explicitly
Unable to `quarto convert` because the kernel name `ruby3` not `ruby`: ```console $ rake jupyter quarto convert doc/qmd/preprocess_knock_Ruby-RedAmber.qmd -o doc/notebook/preprocess_knock_Ruby-RedAmber.ipynb ERROR: Jupyter kernel 'ruby' not found. Known kernels: python3, ruby3. Run 'quarto check jupyter' with your python environment activated to check python version used. ``` Since SciRuby/iruby#317, IRuby's default kernel name has been changed to `ruby3` from `ruby`. However, we keep using `ruby` to respect Ruby's strong compatibility. Alternatively, we can modify the jupyter engine setting in qmd files from `ruby` to `ruby3`: ```yaml jupyter: ruby3 ``` However, this approach requires updating all qmd files whenever Ruby's major version changes. We don't want to pay that maintenance cost.
1 parent 54675e1 commit 01a8c77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.devcontainer/onCreateCommand.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ git clone https://github.com/trueroad/HaranoAjiFonts.git $HOME/.fonts/HaranoAjiF
2323
bundle install
2424

2525
# Install IRuby
26-
iruby register --force
26+
iruby register --force --name=ruby
2727

2828
# Create Jupyter Notebooks
2929
rake quarto:convert

0 commit comments

Comments
 (0)