grierson
2021-7-1 07:59:43

@grierson has joined the channel


grierson
2021-7-1 08:03:01

I’m trying to install raco pkg install racket-langserver but it keeps installing racket 6.8 version. How can I get it to install the latest 8.1 version?


grierson
2021-7-1 08:03:32

sorawee
2021-7-1 08:05:28

I think it depends on your current version racket/raco?


sorawee
2021-7-1 08:05:39

So uninstall Racket, and install 8.1


grierson
2021-7-1 08:05:51

soegaard2
2021-7-1 08:06:49

Try which raco which racket to double check the path to raco and racket is the same.


grierson
2021-7-1 08:09:51

grierson
2021-7-1 08:11:58

think I might have found the issue. I have a minimal 6.8 version


laurent.orseau
2021-7-1 08:14:40

It appears there’s no way to query raco’s version, something like raco -v :thinking_face:


soegaard2
2021-7-1 08:24:44

What’s the difference between a “formula” and a “cask”?


sorawee
2021-7-1 08:26:29

A cask is a special formula that supports GUI, IIUC


grierson
2021-7-1 08:50:19

I think i’ve found the issue. When I brew install racket it comes with racket 6.8 which the lang server then reads as my racket version and has a version conflict.


soegaard2
2021-7-1 08:51:58

I think the easiest approach is not to use brew for Racket, but use the installers at http://download.racket-lang.org\|download.racket-lang.org instead.


sorawee
2021-7-1 08:52:28

Actually I kinda disagree lol. I used to use brew and it works really well. You should have the --cask flag though.


sorawee
2021-7-1 08:53:01

Don’t install the minimal Racket one


grierson
2021-7-1 08:53:46

sorawee
2021-7-1 08:53:53

Ah


sorawee
2021-7-1 08:54:02

NEU is currently down


sorawee
2021-7-1 08:54:13

Matthias sent an email to the list a couple of days ago


soegaard2
2021-7-1 08:54:21

So brew install racket installs the minimal one - that’s confusing.


grierson
2021-7-1 08:54:49

it installs both. Well looks like a tiny part of 6.8


sorawee
2021-7-1 08:54:50

I think it used to. Pretty sure nowadays it’s renamed to minimal-racket


soegaard2
2021-7-1 08:55:03

Ah.


sorawee
2021-7-1 08:55:04

6.8 is long time ago


soegaard2
2021-7-1 08:55:33

Can’t remember 6.8. Now 6.5 makes me nostalgic :slightly_smiling_face:


grierson
2021-7-1 08:55:39

but when you type brew install racket it installs the minimal version which as 6.8 with it


sorawee
2021-7-1 08:56:06

My suggestion is to uninstall it, and then run brew install --cask racket


sorawee
2021-7-1 08:58:04

If all else fail, perhaps follow @soegaard2’s suggestion to download from the download page explicitly (brew install --cask does that under the hood, but it has other goodies like setting up PATH for you)


capfredf
2021-7-1 12:53:25

[Unfortunately, there is no port for Racket in MacPorts, otherwise I would recommend port install racket over brew install ]


ben.knoble
2021-7-1 14:46:24

As a long time brew user, I use the http://download.racket-lang.org\|download.racket-lang.org installer for racket instead :slightly_smiling_face: