You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am try make 'import' needed modules and after install again ruby_executable_hooks
wlysenko@wlysenko-Aspire ~/anaconda3/envs/ComputerHelper/project $ irb
irb(main):001:0> require('rbczmq')
=> true
irb(main):002:0> require('iruby')
=> true
irb(main):003:0> require('executable_hooks')
LoadError: cannot load such file -- executable_hooks
from /usr/local/lib/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/lib/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from (irb):3
from /usr/bin/irb:11:in `<main>'
irb(main):004:0> require('executable_hooks')
[5]+ Stopped irb
wlysenko@wlysenko-Aspire ~/anaconda3/envs/ComputerHelper/project $ sudo gem install executable-hooks
Building native extensions. This could take a while...
# In case of problems run the following command to update binstubs:
gem regenerate_binstubs
Successfully installed executable-hooks-1.3.2
Parsing documentation for executable-hooks-1.3.2
Done installing documentation for executable-hooks after 0 seconds
1 gem installed
wlysenko@wlysenko-Aspire ~/anaconda3/envs/ComputerHelper/project $ irb
irb(main):001:0> require('executable_hooks')
LoadError: cannot load such file -- executable_hooks
from /usr/local/lib/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/lib/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from (irb):1
from /usr/bin/irb:11:in `<main>'
irb(main):002:0> require('executable-hooks')
LoadError: cannot load such file -- executable-hooks
from /usr/local/lib/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/lib/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from (irb):2
from /usr/bin/irb:11:in `<main>'
irb(main):003:0>
[6]+ Stopped irb
Run iruby
see logs (key words is /usr/bin/env: ruby_executable_hooks: No such file or directory)
wlysenko@wlysenko-Aspire ~/anaconda3/envs/ComputerHelper/project $ iruby notebook
/usr/local/bin/iruby differs from registered path /home/wlysenko/.rvm/gems/ruby-2.3.0/bin/iruby.
This might not work. Run 'iruby register --force' to fix it.
[TerminalIPythonApp] WARNING | Subcommand `ipython notebook` is deprecated and will be removed in future versions.
[TerminalIPythonApp] WARNING | You likely want to use `jupyter notebook` in the future
[I 21:00:55.614 NotebookApp] Serving notebooks from local directory: /home/wlysenko/anaconda3/envs/ComputerHelper/project
[I 21:00:55.615 NotebookApp] 0 active kernels
[I 21:00:55.615 NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/
[I 21:00:55.615 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
Created new window in existing browser session.
[W 21:00:57.869 NotebookApp] 404 GET /custom/fonts/exo-II-regular.ttf (127.0.0.1) 22.92ms referer=http://localhost:8888/custom/custom.css
[W 21:01:03.694 NotebookApp] 404 GET /custom/fonts/exo-II-regular.ttf (127.0.0.1) 2.86ms referer=http://localhost:8888/custom/custom.css
[W 21:01:04.520 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20161202210055 (127.0.0.1) 2.35ms referer=http://localhost:8888/notebooks/Untitled.ipynb
[W 21:01:04.594 NotebookApp] 404 GET /custom/fonts/firacode.otf (127.0.0.1) 1.57ms referer=http://localhost:8888/custom/custom.css
[E 21:01:07.366 NotebookApp] 500 POST /api/sessions (127.0.0.1) 191.94ms referer=http://localhost:8888/notebooks/Untitled.ipynb
[I 21:01:14.141 NotebookApp] Creating new notebook in
[W 21:01:16.491 NotebookApp] 404 GET /custom/fonts/exo-II-regular.ttf (127.0.0.1) 1.51ms referer=http://localhost:8888/custom/custom.css
[W 21:01:17.055 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20161202210055 (127.0.0.1) 1.68ms referer=http://localhost:8888/notebooks/Untitled1.ipynb?kernel_name=ruby
[W 21:01:17.098 NotebookApp] 404 GET /custom/fonts/firacode.otf (127.0.0.1) 1.52ms referer=http://localhost:8888/custom/custom.css
/usr/bin/env: ruby_executable_hooks: No such file or directory
[I 21:01:17.255 NotebookApp] Kernel started: 2faf4ca2-dca3-47b8-b174-fd7ea15a76d2
[I 21:01:20.211 NotebookApp] KernelRestarter: restarting kernel (1/5)
/usr/bin/env: ruby_executable_hooks: No such file or directory
[I 21:01:23.220 NotebookApp] KernelRestarter: restarting kernel (2/5)
/usr/bin/env: ruby_executable_hooks: No such file or directory
[I 21:01:26.232 NotebookApp] KernelRestarter: restarting kernel (3/5)
/usr/bin/env: ruby_executable_hooks: No such file or directory
[W 21:01:27.294 NotebookApp] Timeout waiting for kernel_info reply from 2faf4ca2-dca3-47b8-b174-fd7ea15a76d2
[I 21:01:29.242 NotebookApp] KernelRestarter: restarting kernel (4/5)
WARNING:root:kernel 2faf4ca2-dca3-47b8-b174-fd7ea15a76d2 restarted
/usr/bin/env: ruby_executable_hooks: No such file or directory
[W 21:01:32.257 NotebookApp] KernelRestarter: restart failed
[W 21:01:32.258 NotebookApp] Kernel 2faf4ca2-dca3-47b8-b174-fd7ea15a76d2 died, removing from map.
ERROR:root:kernel 2faf4ca2-dca3-47b8-b174-fd7ea15a76d2 restarted failed!
[W 21:01:32.285 NotebookApp] Kernel deleted before session
[W 21:01:32.286 NotebookApp] 410 DELETE /api/sessions/4be3858e-e91a-4b47-b269-3f95d4ee5206 (127.0.0.1) 1.82ms referer=http://localhost:8888/notebooks/Untitled1.ipynb?kernel_name=ruby
^C[I 21:01:38.623 NotebookApp] interrupted
Serving notebooks from local directory: /home/wlysenko/anaconda3/envs/ComputerHelper/project
0 active kernels
The Jupyter Notebook is running at: http://localhost:8888/
Shutdown this notebook server (y/[n])? y
[C 21:01:39.869 NotebookApp] Shutdown confirmed
[I 21:01:39.870 NotebookApp] Shutting down kernels
The text was updated successfully, but these errors were encountered:
My current environment
I am try make 'import' needed modules and after install again ruby_executable_hooks
Installed gems for ruby2
Run iruby
see logs (key words is /usr/bin/env: ruby_executable_hooks: No such file or directory)
The text was updated successfully, but these errors were encountered: