Comments (4)
Run jupyter --paths
config:
/home/username/.jupyter
/usr/local/etc/jupyter
/etc/jupyter
data:
/home/username/.local/share/jupyter
/home/username/anaconda/share/jupyter
/usr/local/share/jupyter
/usr/share/jupyter
runtime:
/run/user/1000/jupyter
You can find kernels/ruby/kernel.json
in a directory listed in data
section.
It is in /home/username/.local/share/jupyter
in my case.
kernel.json
is as shown below.
{
"argv": [ "/usr/local/bin/iruby", "kernel", "{connection_file}"],
"display_name": "Ruby",
"language": "ruby"
}
Rewrite it as:
{
"argv": [ "/usr/local/bin/iruby", "kernel", "{connection_file}", "foo"],
"display_name": "Ruby",
"language": "ruby"
}
Then IRuby will try to run require 'foo'
internally.
from iruby.
Sorry, the content of JSON file was wrong. Now fixed.
from iruby.
Great, thanks!
Thanks for your effort, we use iruby daily;
Congratulations and thank you again.
from iruby.
:)
from iruby.
Related Issues (20)
- Detaching from minrk/iruby HOT 3
- Javascript output is base64 encoded HOT 6
- Add a method to switch backend HOT 1
- iruby.rb should perform `require "iruby/logger"` HOT 1
- SVG images do not show up
- Release 0.7.0
- self no longer works with PlainBackend HOT 7
- google colab not working HOT 6
- iruby does not install/work with Ubuntu snap install of ruby? HOT 3
- Shutdown takes 5 seconds per kernel HOT 3
- Pry breaking point/code navigation behavior in Jupyter HOT 1
- Suggestion: to_iruby should take precedence over other display methods HOT 5
- Support connecting to running rails server session
- Module Import in a Notebook HOT 1
- Issue with iruby while using asdf-vm as the version manager? HOT 7
- Using IRuby.input or IRuby.form hangs Kernel HOT 5
- [Nuisance issue] Using Gnuplot prints correct graph, also throws error HOT 8
- Can a standard class method be overridden in Jupyter/Iruby? HOT 2
- .irbrc file not loaded HOT 1
- Issue with ipython and/or vscode? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iruby.