- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我完全是 SciRuby 的菜鸟。我第一次使用 SciRuby。我正在关注这个 video 了解如何使用 SciRuby 并绘制图形、图表等。当我转到 localhost:8888 并从右侧下拉菜单创建新笔记本时 (Ruby 2.2.3)
我在家(~)目录
然后一开始它说 Kernel connecting,然后 dead kernel 消息一次又一次地弹出(在几秒钟的间隔内)。什么都没有发生,我正在写的命令似乎没有效果。请解决这个问题,非常感谢。
$ iruby notebook
Could not load bundler: Could not locate Gemfile or .bundle/ directory
[TerminalIPythonApp] WARNING | Subcommand `ipython notebook` is deprecated and will be removed in future versions.
[TerminalIPythonApp] WARNING | You likely want to use `jupyter notebook`... continue in 5 sec. Press Ctrl-C to quit now.
[I 01:13:51.976 NotebookApp] Serving notebooks from local directory: /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin
[I 01:13:51.976 NotebookApp] 0 active kernels
[I 01:13:51.976 NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/
[I 01:13:51.977 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
Gtk-Message: Failed to load module "pantheon-filechooser-module"
(firefox:8219): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(firefox:8219): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(firefox:8219): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(firefox:8219): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(firefox:8219): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
Gtk-Message: Failed to load module "canberra-gtk-module"
[I 01:14:32.931 NotebookApp] 302 GET / (127.0.0.1) 0.69ms
[I 01:14:39.766 NotebookApp] Creating new file in
[I 01:14:53.999 NotebookApp] Creating new notebook in
[I 01:14:56.223 NotebookApp] Kernel started: 463b14e0-9f3d-49c0-bd3d-6dd19e7b43d9
W, [2016-03-13T01:14:56.726775 #8272] WARN -- : Could not load bundler: Could not locate Gemfile or .bundle/ directory
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:163:in `rescue in root'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:159:in `root'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:71:in `bundle_path'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:401:in `configure_gem_home_and_path'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:57:in `configure'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:118:in `definition'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:109:in `check_bundler'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:67:in `run_kernel'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:34:in `run'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/bin/iruby:5:in `<top (required)>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `load'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `<main>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'
You should install rbczmq or ffi_rzmq before running iruby notebook. See README.
F, [2016-03-13T01:14:56.821066 #8272] FATAL -- : Kernel died: uninitialized constant IRuby::Kernel::Session
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/kernel.rb:18:in `initialize'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `new'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `run_kernel'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:34:in `run'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/bin/iruby:5:in `<top (required)>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `load'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `<main>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/kernel.rb:18:in `initialize': uninitialized constant IRuby::Kernel::Session (NameError)
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `new'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `run_kernel'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:34:in `run'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/bin/iruby:5:in `<top (required)>'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `load'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `<main>'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'
[I 01:14:59.223 NotebookApp] KernelRestarter: restarting kernel (1/5)
W, [2016-03-13T01:14:59.619447 #8309] WARN -- : Could not load bundler: Could not locate Gemfile or .bundle/ directory
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:163:in `rescue in root'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:159:in `root'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:71:in `bundle_path'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:401:in `configure_gem_home_and_path'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:57:in `configure'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:118:in `definition'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:109:in `check_bundler'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:67:in `run_kernel'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:34:in `run'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/bin/iruby:5:in `<top (required)>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `load'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `<main>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'
You should install rbczmq or ffi_rzmq before running iruby notebook. See README.
F, [2016-03-13T01:14:59.696087 #8309] FATAL -- : Kernel died: uninitialized constant IRuby::Kernel::Session
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/kernel.rb:18:in `initialize'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `new'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `run_kernel'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:34:in `run'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/bin/iruby:5:in `<top (required)>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `load'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `<main>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/kernel.rb:18:in `initialize': uninitialized constant IRuby::Kernel::Session (NameError)
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `new'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `run_kernel'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:34:in `run'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/bin/iruby:5:in `<top (required)>'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `load'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `<main>'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'
[I 01:15:02.231 NotebookApp] KernelRestarter: restarting kernel (2/5)
W, [2016-03-13T01:15:02.619460 #8312] WARN -- : Could not load bundler: Could not locate Gemfile or .bundle/ directory
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:163:in `rescue in root'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:159:in `root'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:71:in `bundle_path'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:401:in `configure_gem_home_and_path'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:57:in `configure'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:118:in `definition'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:109:in `check_bundler'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:67:in `run_kernel'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:34:in `run'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/bin/iruby:5:in `<top (required)>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `load'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `<main>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'
You should install rbczmq or ffi_rzmq before running iruby notebook. See README.
F, [2016-03-13T01:15:02.703792 #8312] FATAL -- : Kernel died: uninitialized constant IRuby::Kernel::Session
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/kernel.rb:18:in `initialize'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `new'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `run_kernel'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:34:in `run'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/bin/iruby:5:in `<top (required)>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `load'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `<main>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/kernel.rb:18:in `initialize': uninitialized constant IRuby::Kernel::Session (NameError)
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `new'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `run_kernel'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:34:in `run'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/bin/iruby:5:in `<top (required)>'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `load'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `<main>'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'
[I 01:15:05.239 NotebookApp] KernelRestarter: restarting kernel (3/5)
W, [2016-03-13T01:15:05.714227 #8316] WARN -- : Could not load bundler: Could not locate Gemfile or .bundle/ directory
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:163:in `rescue in root'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:159:in `root'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:71:in `bundle_path'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:401:in `configure_gem_home_and_path'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:57:in `configure'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:118:in `definition'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:109:in `check_bundler'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:67:in `run_kernel'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:34:in `run'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/bin/iruby:5:in `<top (required)>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `load'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `<main>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'
You should install rbczmq or ffi_rzmq before running iruby notebook. See README.
F, [2016-03-13T01:15:05.788401 #8316] FATAL -- : Kernel died: uninitialized constant IRuby::Kernel::Session
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/kernel.rb:18:in `initialize'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `new'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `run_kernel'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:34:in `run'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/bin/iruby:5:in `<top (required)>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `load'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `<main>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/kernel.rb:18:in `initialize': uninitialized constant IRuby::Kernel::Session (NameError)
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `new'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `run_kernel'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:34:in `run'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/bin/iruby:5:in `<top (required)>'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `load'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `<main>'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'
[W 01:15:06.731 NotebookApp] Timeout waiting for kernel_info reply from 463b14e0-9f3d-49c0-bd3d-6dd19e7b43d9
[I 01:15:08.247 NotebookApp] KernelRestarter: restarting kernel (4/5)
WARNING:root:kernel 463b14e0-9f3d-49c0-bd3d-6dd19e7b43d9 restarted
W, [2016-03-13T01:15:08.701757 #8318] WARN -- : Could not load bundler: Could not locate Gemfile or .bundle/ directory
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:163:in `rescue in root'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:159:in `root'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:71:in `bundle_path'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:401:in `configure_gem_home_and_path'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:57:in `configure'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:118:in `definition'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:109:in `check_bundler'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:67:in `run_kernel'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:34:in `run'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/bin/iruby:5:in `<top (required)>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `load'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `<main>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'
You should install rbczmq or ffi_rzmq before running iruby notebook. See README.
F, [2016-03-13T01:15:08.779382 #8318] FATAL -- : Kernel died: uninitialized constant IRuby::Kernel::Session
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/kernel.rb:18:in `initialize'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `new'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `run_kernel'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:34:in `run'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/bin/iruby:5:in `<top (required)>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `load'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `<main>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/kernel.rb:18:in `initialize': uninitialized constant IRuby::Kernel::Session (NameError)
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `new'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `run_kernel'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:34:in `run'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/bin/iruby:5:in `<top (required)>'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `load'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `<main>'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'
[W 01:15:11.256 NotebookApp] KernelRestarter: restart failed
[W 01:15:11.257 NotebookApp] Kernel 463b14e0-9f3d-49c0-bd3d-6dd19e7b43d9 died, removing from map.
ERROR:root:kernel 463b14e0-9f3d-49c0-bd3d-6dd19e7b43d9 restarted failed!
[W 01:15:11.329 NotebookApp] Kernel deleted before session
[W 01:15:11.330 NotebookApp] 410 DELETE /api/sessions/2709e672-f333-42d4-a84b-0c3ab68d3864 (127.0.0.1) 2.11ms referer=http://localhost:8888/notebooks/Untitled.ipynb?kernel_name=ruby
ryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:159:in `root'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:71:in `bundle_path'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:401:in `configure_gem_home_and_path'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:57:in `configure'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:118:in `definition'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:109:in `check_bundler'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:67:in `run_kernel'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:34:in `run'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/bin/iruby:5:in `<top (required)>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `load'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `<main>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'
You should install rbczmq or ffi_rzmq before running iruby notebook. See README.
F, [2016-03-13T01:15:02.703792 #8312] FATAL -- : Kernel died: uninitialized constant IRuby::Kernel::Session
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/kernel.rb:18:in `initialize'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `new'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `run_kernel'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:34:in `run'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/bin/iruby:5:in `<top (required)>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `load'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `<main>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/kernel.rb:18:in `initialize': uninitialized constant IRuby::Kernel::Session (NameError)
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `new'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:70:in `run_kernel'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:34:in `run'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/bin/iruby:5:in `<top (required)>'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `load'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/iruby:23:in `<main>'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
from /home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'
[I 01:15:05.239 NotebookApp] KernelRestarter: restarting kernel (3/5)
W, [2016-03-13T01:15:05.714227 #8316] WARN -- : Could not load bundler: Could not locate Gemfile or .bundle/ directory
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:163:in `rescue in root'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:159:in `root'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:71:in `bundle_path'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:401:in `configure_gem_home_and_path'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:57:in `configure'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:118:in `definition'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:109:in `check_bundler'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:67:in `run_kernel'
/home/abhimanyuaryan/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.8/lib/iruby/command.rb:34:in `run'
/home/abhimanyuarya[I 01:15:53.124 NotebookApp] Saving file at /Untitled.ipynb
最佳答案
Ivan 的回答给了我提示。
除了声明 iruby 和 nyaplot gem 之外,您还需要声明适当的 ZeroMQ 接口(interface)。
所以,在你的 Gemfile 中,
gem 'iruby'
gem 'nyaplot'
gem 'rbczmq' # or 'ffi-rzmq'
# any other gems you want to use should go here too
或者,如果您正在使用 gemspec 处理项目,则需要在规范中包含以下两行:
gem.add_development_dependency 'iruby', '~>0.2'
gem.add_development_dependency 'rbczmq'
如果您使用的是 nyaplot,还有一个。
关于sciruby - 创建 iruby notebook 时内核死机,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35999925/
总的来说,我对 Linux 内核和操作系统非常感兴趣。我想知道的是,内核的文件类型或扩展名是什么?它显然没有 .exe 或 .out 扩展名,因为它们用于安装在操作系统上的应用程序。 内核只是一个二进
我需要为 Raspbian Linux 内核添加一个自己的系统调用。现在我在搜索了大约 2 天以找到解决方案后陷入困境。 要加一个系统调用,我基本上是按照大纲来的( http://elinux.org
对于一个学术项目,我希望将源文件 (myfile.c) 添加到 kernel/目录,与exit.c相同的目录和 fork.c .构建系统似乎不会自动获取新文件,因为我在 myfile.c 中定义的函数
浏览器排行榜 浏览器市占率排行榜全球榜 。 浏览器市占率排行榜中国榜 -快科技 。 如果按照浏览器内核来看, Chromium 内核的市场占有率无疑是最大的,一家独大
给定一个进程或线程的任务结构,迭代属于同一进程的所有其他线程的习惯用法是什么? 最佳答案 Linux 不区分进程(任务)和线程。库调用 fork() 和 pthread_create() 使用相同的系
我正在用c(不是linux。完全从头开始)从头开始制作一个内核,但我遇到了一些问题。我有这个代码: #include "timer.h" int ms = 0; void timer_handler(
我正在从头开始制作一个 C 内核,我实际上只是从网站上复制了这段代码,因为我的代码无法工作,所以我很困惑。 void kmain(void) { const char *str = "my f
我不确定,如果我完全理解上述差异,所以我想自己解释一下,你可以打断我,只要我有错:“内核是创建内核线程的初始代码段。内核线程是由内核管理的进程。用户线程是进程的一部分。如果你有一个单线程进程,那么整个
看一下struct file 定义from this code Linux 内核版本 2.6.18。 我正在尝试比较代码中的两个 struct file 变量,并确定它们是否指的是同一个文件。该结构中
我试图在 Linux 启动时使嵌入式设备中的 LED 闪烁。基本上,LED 闪烁表明 Linux 正在启动。为了使 LED 闪烁,我正在做以下事情 在 init/main.c 中创建了一个全局定时器(
我有一些在 FreeBSD 和 Linux 上运行的特定硬件。 我必须做一个用户空间应用程序,它将使用内核/用户空间应用程序之间的共享内存与驱动程序一起工作。我的应用程序对来自用户空间的共享内存进行忙
我在哪里可以找到 linux 内核中相应函数的解释,特别是对于 ICMPv4? 例如:icmp_reply、icmp_send等 感谢您的帮助。 最好的,阿里木 最佳答案 探索 Linux 内核中的
我在 Linux Kernel 3.4 上工作,我有以下代码: /* Proximity sensor calibration values */ unsigned int als_kadc;
我正在阅读“罗伯特·洛夫 (Robert Love) 撰写的 Linux 内核开发第 3 版”,以大致了解 Linux 内核的工作原理..(2.6.2.3) 我对等待队列的工作方式感到困惑,例如这段代
我之前也问过同样的问题,但是我的帖子不知为何被删除了。 无论如何,我正在尝试使用 C++ 并编写一个允许我直接访问内存并向其中写入内容的程序。我听说我需要对内核做一些事情,因为它是连接操作系统和应用程
在尝试了解 Ruby 执行方法时,我找到了这篇关于在 Ruby 中运行命令的五种方法的博文 http://mentalized.net/journal/2010/03/08/5_ways_to_run
是否有 Linux 发行版(Minix 除外)包含良好的源代码文档?或者,是否有一些好的文档来描述一般的 Linux 源代码? 我已经下载了内核源代码,但是(不出所料)我有点不知所措,我想知道是否有一
有谁知道 linux 中的哪个函数或文件包含查找用于 bind() 系统调用的随机端口的算法?我到处寻找,在 Linux 源代码中找不到包含此算法的方法。 谢谢! 最佳答案 这是一段又长又复杂的代码,
前言 首先,对于有科班背景的读者,可以跳过本系列文章。这些文章的主要目的是通过简单易懂的汇总,帮助非科班出身的读者理解底层知识,进一步了解为什么在面试中会涉及这些底层问题。否则,某些概念将始终
CentOS7.2与CentOS6区别及特点 Linux 操作系统的启动首先从 BIOS 开始,接下来进入 boot loader,由 bootloader 载入内核,进行内核初始化。内核初始化的
我是一名优秀的程序员,十分优秀!