ruby - iRuby kernel keeps getting killed -
i ruby homebrew on macos sierra 10.12.3. installed jupyter pip install , iruby gem install
when run iruby notebook
server starts fine while creating new notebook kernel killed following log.
/usr/local/lib/ruby/gems/2.4.0/gems/iruby-0.2.9/lib/iruby/kernel.rb:18:in `initialize': uninitialized constant iruby::kernel::session (nameerror) /usr/local/lib/ruby/gems/2.4.0/gems/iruby-0.2.9/lib/iruby/command.rb:70:in `new' /usr/local/lib/ruby/gems/2.4.0/gems/iruby-0.2.9/lib/iruby/command.rb:70:in `run_kernel' /usr/local/lib/ruby/gems/2.4.0/gems/iruby-0.2.9/lib/iruby/command.rb:34:in `run' /usr/local/lib/ruby/gems/2.4.0/gems/iruby-0.2.9/bin/iruby:5:in `<top (required)>' /usr/local/bin/iruby:22:in `load' /usr/local/bin/iruby:22:in `<main>'
i have seen other question there error message different.
the iruby documentation @ github suggests using anaconda , setting ruby environment 2.4.1 using rbenv. had same issue when experimenting iruby kernel.
from readme:
mac
i recommend installation using anaconda.
after that, run following commands.
brew install rbenv automake gmp libtool wget rbenv install 2.4.1 rbenv global 2.4.1
echo 'eval "$(rbenv init -)"' >> ~/.bashrc source ~/.bashrc brew install zeromq brew install czmq --head gem install cztop iruby iruby register --force
Comments
Post a Comment