Skip to content
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

The scribble documentation doesn't say how to install scribble #342

Open
llimllib opened this issue Aug 4, 2022 · 10 comments
Open

The scribble documentation doesn't say how to install scribble #342

llimllib opened this issue Aug 4, 2022 · 10 comments

Comments

@llimllib
Copy link

llimllib commented Aug 4, 2022

The title is the whole issue, I found the documentation for scribble and I'm interested, I even have racket installed already, but I have no idea how to install scribble and the documentation assumes you have a scribble binary already.

@samth
Copy link
Sponsor Member

samth commented Aug 4, 2022

If you've installed Racket there should be a parallel scribble binary. There is also a raco scribble command that should work as well if you can run raco.

@llimllib
Copy link
Author

llimllib commented Aug 4, 2022

  • I installed racket via homebrew, and there isn't a scribble binary
  • raco pkg install scribble worked, though it took 11 minutes (!) and prompted me to accept package installs 34 (!!) different times (full log)

Anyway, I think putting "it's either in your distribution or do raco pkg install scribble" into the docs would maybe be a good idea - but it's just a suggestion and if you don't want to no worries, close away

@jryans
Copy link
Member

jryans commented Aug 4, 2022

The default racket package on Homebrew is only a "minimal" distribution (and has even been renamed to minimal-racket to make it a bit more obvious), so it's missing many of the extra packages and commands that usually come with Racket, including scribble.

There's a Homebrew cask package which does include a full distribution. You could do the following if you wanted to switch over:

  1. brew remove racket
  2. brew install --cask racket

@llimllib
Copy link
Author

llimllib commented Aug 4, 2022

It's cool, I have it installed now! Just think it might be handy to include installation instructions in the docs for the tool

@rfindler
Copy link
Member

rfindler commented Aug 4, 2022

@llimllib We have a bit of a quandry here-- the easiest/simplest way to install on a mac (namely following the download link on the racket-lang.org site and then dragging to the Applications folder) does not require any steps. Also, there are many many many pages that hold the same status as the scribble documentation, in the sense that someone coming to them who has somehow used one of the more complex ways to install racket would need to take additional steps. So it doesn't seem like the right move to just change the scribble documentation.

Maybe the right fix is to make "brew install racket" actually have scribble in it (but perhaps, from @jryans comment, this has been done already).

@jasonhemann
Copy link

@rfindler, the homebrew messages about the deprecated formula racket are IMO a little opaque (cf https://github.com/orgs/Homebrew/discussions/3510), and so issues like this are a downstream consequence.

@rfindler
Copy link
Member

rfindler commented Sep 6, 2022

I'm not familiar enough with brew to understand what that issue is talking about, @jasonhemann . Can you explain why "brew install racket" should install something derived from minimal-racket instead of racket? Or are you saying something else?

@samth
Copy link
Sponsor Member

samth commented Sep 7, 2022

The problem is that brew install racket prints a deprecation warning and tells people to install minimal-racket instead (that's what's described in the issue).

@jasonhemann
Copy link

The problem is that brew install racket prints a deprecation warning and tells people to install minimal-racket instead (that's what's described in the issue).

Right. Whereas it would probably be better to have brew issue a warning pointing them to the full racket installation, even though that's a cask and not a formula.

tl;dr It feels like a homebrew problem, and one they're aware of.

@jryans
Copy link
Member

jryans commented Jan 31, 2023

The (confusing and incorrect) Homebrew deprecation warning has been fixed, so hopefully people are slightly more likely to get the right Racket distribution there in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants