Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel crashes when trying to load rails environment #354

Open
inspire22 opened this issue Nov 3, 2024 · 1 comment
Open

Kernel crashes when trying to load rails environment #354

inspire22 opened this issue Nov 3, 2024 · 1 comment

Comments

@inspire22
Copy link

Kernel works for basic things like puts("Hello, world"), but crashes when I try to load my rails environment. Any tips where to debug?

[W 2024-11-03 10:20:39.549 ServerApp] 403 GET /api/kernelspecs?1730658039541 (@127.0.0.1) 2.18ms referer=None
[I 2024-11-03 10:20:41.883 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (1/5), new random ports
[W 2024-11-03 10:20:41.883 ServerApp] kernel 9999ed92-cb85-4a73-b7cc-327cc4346278 restarted
[I 2024-11-03 10:20:41.887 ServerApp] Starting buffering for 9999ed92-cb85-4a73-b7cc-327cc4346278:25928bd4-a804-4368-8282-b1ad9108b1d1
[I 2024-11-03 10:20:41.895 ServerApp] Adapting from protocol version 5.0 (kernel 9999ed92-cb85-4a73-b7cc-327cc4346278) to 5.3 (client).
[I 2024-11-03 10:20:41.896 ServerApp] Connecting to kernel 9999ed92-cb85-4a73-b7cc-327cc4346278.
[I 2024-11-03 10:20:41.896 ServerApp] Restoring connection for 9999ed92-cb85-4a73-b7cc-327cc4346278:25928bd4-a804-4368-8282-b1ad9108b1d1
W, [2024-11-03T10:20:42.159705 #3444882]  WARN -- : Could not load bundler: Could not locate Gemfile
W, [2024-11-03T10:20:42.335363 #3444882]  WARN -- : parent process poller thread started.
 [I 2024-11-03 10:21:11.212 ServerApp] Saving file at /Untitled1.ipynb
/home/kevin/.rbenv/versions/3.3.3/bin/ruby: No such file or directory -- kernel (LoadError)
[I 2024-11-03 10:21:38.429 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (1/5), keep random ports
[W 2024-11-03 10:21:38.429 ServerApp] kernel 49f510d9-200b-4213-a448-980278c0e1da restarted
[I 2024-11-03 10:21:38.434 ServerApp] Starting buffering for 49f510d9-200b-4213-a448-980278c0e1da:6572abc4-a3e0-4db7-ae51-763555532534
[I 2024-11-03 10:21:38.442 ServerApp] Adapting from protocol version 5.0 (kernel 49f510d9-200b-4213-a448-980278c0e1da) to 5.3 (client).
[I 2024-11-03 10:21:38.443 ServerApp] Connecting to kernel 49f510d9-200b-4213-a448-980278c0e1da.
[I 2024-11-03 10:21:38.443 ServerApp] Restoring connection for 49f510d9-200b-4213-a448-980278c0e1da:6572abc4-a3e0-4db7-ae51-763555532534
W, [2024-11-03T10:21:38.688313 #3445074]  WARN -- : Could not load bundler: Could not locate Gemfile
W, [2024-11-03T10:21:38.859500 #3445074]  WARN -- : parent process poller thread started.
/home/kevin/.rbenv/versions/3.3.3/bin/ruby: No such file or directory -- kernel (LoadError)
 [I 2024-11-03 10:21:47.443 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (2/5), keep random ports
[W 2024-11-03 10:21:47.443 ServerApp] kernel 49f510d9-200b-4213-a448-980278c0e1da restarted
[I 2024-11-03 10:21:47.446 ServerApp] Starting buffering for 49f510d9-200b-4213-a448-980278c0e1da:6572abc4-a3e0-4db7-ae51-763555532534
[I 2024-11-03 10:21:47.466 ServerApp] Adapting from protocol version 5.0 (kernel 49f510d9-200b-4213-a448-980278c0e1da) to 5.3 (client).
[I 2024-11-03 10:21:47.466 ServerApp] Connecting to kernel 49f510d9-200b-4213-a448-980278c0e1da.
[I 2024-11-03 10:21:47.466 ServerApp] Restoring connection for 49f510d9-200b-4213-a448-980278c0e1da:6572abc4-a3e0-4db7-ae51-763555532534
W, [2024-11-03T10:21:47.725430 #3445114]  WARN -- : Could not load bundler: Could not locate Gemfile
W, [2024-11-03T10:21:47.894577 #3445114]  WARN -- : parent process poller thread started.
@kojix2
Copy link
Member

kojix2 commented Nov 4, 2024

Hi @inspire22
Thank you for your report.
I am not very familiar with Rails. I hope this will be of some help to you.
https://github.com/Yuki-Inoue/jupyter_on_rails

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants