Hi All,
It used to be (in 0.3) that if the pwd contained mymodule.jl, I could load
it simply with "using mymodule". However, in 0.4, it appears that
loading.jl does not include the pwd() as part of the search path.
jjulia> using mymodule
ERROR: ArgumentError: mymodule not found in path
in require at ./loading.jl:196
I've had to explicitly add pwd() to LOAD_PATH before doing the load with
"using".
julia> push!(LOAD_PATH, pwd())
3-element Array{ByteString,1}:
"/opt/julia-v0.4-20150821/julia/usr/local/share/julia/site/v0.4"
"/opt/julia-v0.4-20150821/julia/usr/share/julia/site/v0.4"
"/Users/abcd/path/to/modules"
julia> using mymodule
julia>
Is this expected?
Version info:
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.4.0-dev+6878 (2015-08-21 17:41 UTC)
_/ |\__'_|_|_|\__'_| | Commit 97ac6a0* (5 days old master)
|__/ | x86_64-apple-darwin12.6.0
Thanks,
Ravi