tadzik / rakudobrew

Perl 6 installation manager
MIT License
185 stars 42 forks source link

module executable scripts are not on PATH #132

Closed hkdtam closed 5 years ago

hkdtam commented 5 years ago

I found that, after zef install cro and p6doc, the resulting executable scripts were placed under

/home/username/.rakudobrew/moar-master/install/share/perl6/site/bin/

instead of a more anticipated location, like

/home/username/.rakudobrew/bin/

should I just hardcode the former into PATH or is there any recommended practice to deal with the situation?

Thanks in advance.

skaji commented 5 years ago

https://github.com/tadzik/rakudobrew#making-new-scripts-available

After you have installed new modules and scripts with zef or panda, you can run

  $ rakudobrew rehash

to make the scripts available in ~/.rakudobrew/bin and thus your PATH.
hkdtam commented 5 years ago

Oh thanks, that is the right practice, my bad, should have RTFM.