-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Pass flags to rake jupyter:notebook
#29
Comments
rake jupyter:notebook
causes Cannot assign requested address
errorrake jupyter:notebook
The more I look at this error the less it seems to have anything to do with I haven't ever found a smooth and easy way to pass flags through rake without making each of them explicit.
|
For a local development workaround, I was able to reconstruct the command the rake task is executing. First I evaluated While this feels like progress, I still haven't solved my root issue. I still get an error when attempting to |
I think if we are to do this, an cli command implementation of this Doing that is simply a matter of development; if anyone can implement it, I'd be happy to merge; if I can spare time, I'll probably implement this feature, but for now I'm a bit occupied. |
I came across this project. Thanks for the life saver. you can use ssh forwarding for this. |
@jorge0136 @Yuki-Inoue By setting the options in the For example, you can set the IP and port like this: # Set the IP address for Jupyter to listen on
c.NotebookApp.ip = '0.0.0.0'
# Set the port for Jupyter to listen on
c.NotebookApp.port = 8888 This is how I use |
I am attempting to add
jupyter_on_rails
to an existing rails application in a docker container. When I executerake jupyter:notebook
from within my container I get the following error. It appears that it is an instance of this issue and may well be an issue with the way I have my container configured.Running jupyter via
iruby notebook --port 8888 --ip=0.0.0.0
starts the server ok but I am unable torequire 'iruby/rails'
within a notebook. Do you have any suggestions for how to pipe flags into the rake task or otherwise troubleshoot this issue?Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: