# Rackup provision for generated scripts (?) (\`\`racket-launcher-names\`\`)

**URL:** <https://racket.discourse.group/t/rackup-provision-for-generated-scripts-racket-launcher-names/4272>\
**Category:** Questions & Answers\
**Tags:** question, rackup\
**Created:** [May 30, 2026, 10:44am UTC](https://racket.discourse.group/t/rackup-provision-for-generated-scripts-racket-launcher-names/4272 "2026-05-30T10:44:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aanastasiou](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/aanastasiou/32/1126_2.png) [@aanastasiou](https://racket.discourse.group/u/aanastasiou)\
**Post date:** [May 30, 2026, 10:44am UTC](https://racket.discourse.group/t/rackup-provision-for-generated-scripts-racket-launcher-names/4272/1 "2026-05-30T10:44:52Z")

</div>

In a given `info.rkt`, I am making use of `racket-launcher-names` which creates a launching script within the current racket installation's `bin/` directory. This means that if that directory is in the current `PATH`, the generated program launches without first having to locate it.

Unless I am not getting something, I think that rackup does not redirect each installation's `bin/`...which means that when you switch to a different racket version, you also need to manually redirect the `bin/`.

Is it possible for rackup, to also redirect a single path added to the system `PATH` variable along with the rest of rackup initialisation that gets added to the rc script? The `libexec/rackup-shim` intercepts a call and redirects it. Would it be possible to also have a symbolic link redirecting a single directory to the right `bin/` as part of `rackup switch`?

Or...could I achieve this with existing functionality?

---

<div class="post-metadata">

**Author:** ![samth](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/samth/32/3_2.png) [@samth](https://racket.discourse.group/u/samth)\
**Post date:** [June 8, 2026, 3:21pm UTC](https://racket.discourse.group/t/rackup-provision-for-generated-scripts-racket-launcher-names/4272/2 "2026-06-08T15:21:45Z")

</div>

The idea is that `rackup reshim` should pick up on the launcher names you added.

---

<div class="post-metadata">

**Author:** ![aanastasiou](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/aanastasiou/32/1126_2.png) [@aanastasiou](https://racket.discourse.group/u/aanastasiou)\
**Post date:** [June 8, 2026, 5:58pm UTC](https://racket.discourse.group/t/rackup-provision-for-generated-scripts-racket-launcher-names/4272/3 "2026-06-08T17:58:17Z")

</div>

Thank you very much that worked.

The racket executables worked right from the beginning, but the package that installs the program I am talking about was created after the migration process from the 9.1 racket version and it did not work "automatically".

In a standalone installation, the launcher-names are created in `~/.local/share/racket/<version>/bin` (while racket itself can be installed anywhere on the file system).

Since the racket executables worked, I did not even think that my problem could be with the shims.

All the best
