From c900e3aa23875dd909fb60838d4d26b0699e1fbe Mon Sep 17 00:00:00 2001 From: Nathan Daly Date: Mon, 15 Apr 2019 10:31:08 -0400 Subject: [PATCH] Add kernel.jl's IJulia to LOAD_PATH as last option If IJulia isn't found in the user's environment, default to loading the version of IJulia that the kernel.jl was installed from. --- src/kernel.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/kernel.jl b/src/kernel.jl index 9a3ec15f..4a05c11f 100644 --- a/src/kernel.jl +++ b/src/kernel.jl @@ -1,3 +1,7 @@ +# Manually add this package as the last entry in the LOAD_PATH so that if IJulia isn't +# installed in the user's Environment, IJulia will still be picked up from this directory. +push!(LOAD_PATH, dirname(@__DIR__)) + import IJulia let