rmculpepper / iracket

Jupyter kernel for Racket
BSD 3-Clause "New" or "Revised" License
95 stars 14 forks source link

Update README.md #18

Open NightMachinery opened 2 years ago

NightMachinery commented 2 years ago

Adds the workaround from https://github.com/rmculpepper/iracket/issues/11 to the readme.

mpcjanssen commented 2 years ago

I am not a fan of copying files installed by a package manager to other places on the system. It clutters up your drive and can lead to issues when trying to uninstall. IMO a better approach is to chance the lib-search-dir racket uses to find dynamic libraries. This can be achieved by something like:

cat /Applications/Racket\ v8.3/etc/config.rktd
#hash(
(build-stamp . "") 
(catalogs . ("https://download.racket-lang.org/releases/8.3/catalog/" #f)) 
(doc-search-url . "https://download.racket-lang.org/releases/8.3/doc/local-redirect/index.html") 
(lib-search-dirs . (#f "/opt/homebrew/lib")))

This has the additional benefit that Racket will be able to find other dynamic libs installed with homebrew.