Closed melezhik closed 1 year ago
I use manual method of rakubrew installation:
[task run: task.bash - tasks/rakubrew-install]
[dump code: task.bash]
[1] set -e
[2] curl -sf https://rakubrew.org/perl/rakubrew -o rakubrew
[3] sudo mv rakubrew /usr/local/bin
[4] sudo chmod a+x /usr/local/bin/rakubrew
[5] rakubrew mode shim
[6]
[task stdout]
16:25:52 :: Updating shims
Thanks for the report! That's an error in the documentation. To use Rakubrew in shim mode without the shell hook, one still needs to manually add the path where rakubrew generates the shims to PATH. Something like export PATH=$(rakubrew home)/shims:$PATH
should do the trick. I'll see if I can fix the documentation to state this in the next days.
Irrespective of this issue: As I already wrote over here, I generally don't recommend using rakubrew in automation.
I expanded the documentation on rakubrew.org a bit. So I think this bug can be closed. Thanks for the report!
👍
Hi I am trying to use rakubrew in Sparrow, I use rakubrew low level installation mode (following documentation) and then
raku brew download moar-$version && rakubrew switch $version
however I do see that old (system) raku still in use :The full log could be found here - https://ci.sparrowhub.io/report/1620