Hitting a weird issue after I tried to upgrade scoop Clojure for the first time in awhile. It might not necessarily be scoop related. But when I scoop uninstall clojure -p
and then install it again, I get a proper repl with clojure version 1.10.1
.
However, when I try to start a repl with inf-clojure
on emacs, which SHOULD just be a wrapper over shelling out the command cmd-clojure
, the repl it gives me is version 1.9.0.
Only 1.10.1 shows up in my dependency tree with clj -Stree
.
And when I use the emacs shell I get the correct version with cmd-clojure
.
Any hints as to what might be causing this?
Maybe launch clj
with -Sforce
to make sure cache is not polluted by some unwanted artifacts.
Or at min explore what's there - clj -Sverbose
could be helpful with cache locations etc.
One thing that you can also check is in followint trail:
scoop uses directories with each version and current
link to most recent version. Make sure a path to very specific version is not used anywhere - probably it isn't, but I'm just shooting out ideas.
thanks for the ideas! Strangly the verbose output shows the correct version but then the repl startupd message still shows 1.9
It might be some classpath polution problem
some of the deps is depending on older version and it takes precedence
Would they show up in the STree then? I'll try to start removing deps and see if that helps.
Ok I figured out the issue. I had a local/root
dependency pointing to a jar file which used 1.9, when I removed that it works
thanks for the help!