rakudobrew | Perl 6 installation manager

 by   tadzik Perl Version: Current License: MIT

kandi X-RAY | rakudobrew Summary

kandi X-RAY | rakudobrew Summary

rakudobrew is a Perl library. rakudobrew has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Rakudobrew helps to build one or more versions of Rakudo and quickly switch between them. It's a perlbrew and plenv look alike and supports both flavours of commands. Rakudobrew can work by modifying $PATH in place (which is a more down to the metal) as well as with shims (which enables advanced features, such as local versions).
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              rakudobrew has a low active ecosystem.
              It has 190 star(s) with 44 fork(s). There are 24 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 14 open issues and 59 have been closed. On average issues are closed in 404 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of rakudobrew is current.

            kandi-Quality Quality

              rakudobrew has 0 bugs and 0 code smells.

            kandi-Security Security

              rakudobrew has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              rakudobrew code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              rakudobrew is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              rakudobrew releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rakudobrew
            Get all kandi verified functions for this library.

            rakudobrew Key Features

            No Key Features are available at this moment for rakudobrew.

            rakudobrew Examples and Code Snippets

            No Code Snippets are available at this moment for rakudobrew.

            Community Discussions

            QUESTION

            Unreachable command line option in MAIN
            Asked 2019-Dec-04 at 12:59

            zef search includes :$update as a named argument:

            ...

            ANSWER

            Answered 2019-May-05 at 09:08

            If I run this MAIN candidate by itself, it works:

            Source https://stackoverflow.com/questions/55990282

            QUESTION

            Multiple versions of perl6 using rakudobrew
            Asked 2019-Nov-27 at 05:58

            Is it possible to manage multiple versions of Perl 6 using rakudobrew?

            I tried:

            ...

            ANSWER

            Answered 2018-May-29 at 12:37

            moar is a backend. To get a specific Rakduo version, you have to specify it as well:

            Source https://stackoverflow.com/questions/45464233

            QUESTION

            How can you change the perl 6 version you are using or install a new module for the one Comma uses?
            Asked 2019-Nov-26 at 11:57

            When I start a new project in Comma, it pops up the version I am going to use. Instead of allowing me to select from every version in my rakudobrew list, there's a single option, which is not the one I have selected on the command line. When I run a script, it does not find the modules that are already installed. So how can I

            • Change the version of Perl 6 it's using for the current project? Or else
            • How can I install the module it's not finding from Comma IDE?

            I can of course get out of comma, change the global Rakudo version, install the module, and then go back to whichever I'm using, but I was wondering how to do that from Comma itself.

            ...

            ANSWER

            Answered 2019-Aug-03 at 11:19
            • To change Perl 6 SDK for the project you go to File -> Project Settings and select project's SDK. Usually it suggests you to choose from not SDKs available from rakudobrew, but one available in your PATH(global, possibly not configured by rakudobrew for this particular shell). So it looks like Perl 6 you have in PATH is not the one that you use from the command line, so the modules are not available.
            • Clicking on New -> Perl 6 SDK in Project Settings you can manually specify a path to a Perl 6 bin directory you want to have as an SDK, so for rakudobrew you should specify e.g. /home/$user/.rakudobrew/versions/moar-2019.07/install/bin directory. If it will be the same location you have in which perl6 in your command line where you install modules, it should work.

            • Right now Comma does not do things related to package management, though this feature is planned.

            Source https://stackoverflow.com/questions/57336927

            QUESTION

            Perl6: rakudobrew cannot build moar
            Asked 2019-Nov-25 at 19:16

            I'd like to upgrade to the newest version of Perl6,

            ...

            ANSWER

            Answered 2019-Aug-13 at 09:11

            Your connection problem is not really anything to do with any P6 related software, or in fact any software you're using. It is, as you say, "just a simple connection failure". And most such failures are transient and "fix themselves". As JJ notes, in such scenarios you just wait and then things start working again.

            So by the time you read this it'll probably be working for you again without you having fixed anything. But I'm writing an answer anyway with these sections:

            • Consider not using rakudobrew

            • Connection problems that "fix themselves"

            • Connection problems you investigate or fix yourself

            • Getting around single points of failure

            Consider not using rakudobrew

            The main purpose of rakudobrew is to support installation of many versions of Rakudo simultaneously and the main audience for the tool is folk hacking on the Rakudo compiler, not those merely using it.

            If you're just a regular user, not someone developing the Rakudo compiler and/or don't need to have multiple versions of Rakudo, with complete source code, installed simultaneously, then consider just downloading and installing Rakudo files directly, eg. via rakudo.org/files, rather than via rakudobrew.

            Connection problems that "fix themselves"

            rakudobrew failed because a git clone ... command failed because the connection with the github.com server timed out.

            A server timing out when doing something that usually works using a connection that usually works is likely a transient problem, aka a "please try later" problem.

            Transient problems typically "fix themselves" a few seconds, minutes or hours later.

            If there's still a problem when you try again, and you want to spend time trying to find out what's going on officially, then look for a status page for that server.

            Here are two status pages I know of for github.com:

            And for unofficial scuttlebutt I suggest reading the twitter feed.

            For me, right now, github.com is working fine and the status page says all systems are go.

            So it should now be working for you too.

            If it's not, then you can wait longer, or investigate. It you want to investigate, start by looking at the status pages above.

            Connection problems you investigate or fix yourself

            If github claims it's working fine then there's presumably a problem with your local internet "on-ramp" (your system or your internet service provider's) or somewhere further afield between your on-ramp and the server you're failing to connect to. (You can only know approximately where the server is based on which region of the world administers the IP address the server is associated with at any given moment.)

            The next place to look will be places like the internet traffic report; this indicates traffic jams and the like across the planet. (Ignore the visual display, which is broken on some browsers, and click on the links in the table to drill down.)

            If it's all green between you and the region that administers the IP address of the server you're failing to connect to, then the next place to turn would be your system's administrator and/or ISP.

            Failing that, then perhaps you can ask a question at a sister stackexchange site like serverfault.com or superuser.com.

            Getting around single points of failure

            Perhaps you were thinking there might be some system redundancy and/or you're interested in that aspect.

            P5's ecosystem and its tools are generally mature and limit spofs. This is unlike the ecosystems and tools of most of the other languages out there; so if you've gotten used to the remarkable reliability/availability of CPAN due to its avoidance of spofs, and by extension perlbrew, well, you've been spoiled by P5.

            The P6 ecosystem/tool combinations are evolving in the P5 tradition.

            For example, the zef package manager automatically connects to CPAN alongside github, and is built to be able to connect to other repos. The ecosystem is partway there to take advantage of this zef capability in that many modules are redundantly hosted on both CPAN and github.

            rakudobrew ignores CPAN and assumes use of git repos. It is impressively configurable via its Variables.pm file which includes a %git_repos variable, which could be re-targeted to an alternative git repo site like gitlab. But no one has, to my knowledge, arranged to redundantly copy and update the relevant rakudo files to another git repo site, so this spof-avoidance ability apparently inherent in rakudobrew's code is, afaik, moot for now.

            Source https://stackoverflow.com/questions/57464392

            QUESTION

            Perl 6 DBIish broken
            Asked 2019-Oct-17 at 14:11

            I've installed the DBIish on my macOS v10.13 (High Sierra):

            ...

            ANSWER

            Answered 2017-Oct-15 at 17:34

            You are missing the $ on the host parameter to connect.

            Source https://stackoverflow.com/questions/46745869

            QUESTION

            Perl6: comparison operator ~~
            Asked 2019-Aug-07 at 19:55

            I don't understand this behavior:

            ...

            ANSWER

            Answered 2018-Jan-28 at 17:35

            The key observation is that sort doesn't actually return a list:

            Source https://stackoverflow.com/questions/48488381

            QUESTION

            Why is the perl6 repl not distinguishing between two different classes?
            Asked 2018-Dec-24 at 12:59

            I'm trying to create some classes in the repl and when I create a second class with the same attributes as the first class I'm told it's already defined.

            Is this a simply a problem with the repl not handling namespaces correctly? It works as expected in a file.

            Perl6 version: This is Rakudo version 2018.10 built on MoarVM version 2018.10 implementing Perl 6.c.

            ...

            ANSWER

            Answered 2018-Dec-24 at 12:59

            I just tried to replicate this slightly differently on my REPL, I get no error...

            Source https://stackoverflow.com/questions/53904577

            QUESTION

            Converting pack to perl6
            Asked 2018-Nov-30 at 14:03

            I would like to convert the following from perl5 to perl6,

            ...

            ANSWER

            Answered 2018-Nov-18 at 23:48

            As ikegami says in a comment to your question, you really should use a Buf, which is basically a “string” of bytes.

            Source https://stackoverflow.com/questions/53365101

            QUESTION

            Why are the source file names not human readable?
            Asked 2018-Nov-05 at 17:39

            I installed Perl6 with rakudobrew and wanded to browse the installed files to see a list of hex-filenames in ~/.rakudobrew/moar-2018.08/install/share/perl6/site/sources as well as ~/.rakudobrew/moar-2018.08/install/share/perl6/sources/.

            E.g.

            ...

            ANSWER

            Answered 2018-Oct-02 at 13:19

            In Perl 6, the mechanism for loading modules and caching their compilations is pluggable. Rakudo Perl 6 comes with two main mechanisms for this.

            One is a file-system based repository, and it's used with things like -Ilib. This resolves modules simply using paths on disk. Whenever a module loaded, it first has to check that the modules sources have not changed in order to re-compile them if so. This is ideal for development, however such checks take time. Furthermore, this doesn't allow for having multiple versions of the same module available and picking the one matching the specification in the use statement. Again, ideal for development, when you just want it to use your latest changes, but less so for installation of modules from the ecosystem.

            The other is an installation repository. Here, specific versions of modules are installed and precompiled. It is expected that all interactions with such a repository will be done through the API or tools using the API (for example, zef locate Some::Module). It's assumed that once a specific version of a module has been installed, then it is immutable. Thus, no checks need to be done against source, and it can go straight to loaded the compiled version of the module.

            Thus, the installation repository is not intended for direct human consumption. The SHA-1s are primarily an implementation convenience; an alternative scheme could have been used in return for a bit more effort (and may well be used in the future). However, the SHA-1s do also create the appearance of something that wasn't intended for direct manipulation - which is indeed the case: editing a source file in there will have no effect in the immediate, and probably confusing effects next time the compiler is upgraded to a new version.

            Source https://stackoverflow.com/questions/52605765

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install rakudobrew

            On *nix do:
            On Windows CMD do:
            On Windows PowerShell do:

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/tadzik/rakudobrew.git

          • CLI

            gh repo clone tadzik/rakudobrew

          • sshUrl

            git@github.com:tadzik/rakudobrew.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link