Raku / App-Rakubrew

Raku environment manager
https://rakubrew.org/
Other
26 stars 13 forks source link

HTTP::Tinyish isn't finding https backend, though two are in place. #6

Closed Coleoid closed 4 years ago

Coleoid commented 4 years ago

Key points:

1.

code> rakubrew available
No backend configured for scheme https at App/Rakubrew/Download.pm line 110.

2.

code> curl -V
curl 7.55.1 (Windows) libcurl/7.55.1 WinSSL
Release-Date: [unreleased]
Protocols: dict file ftp ftps http https imap imaps pop3 pop3s smtp smtps telnet tftp

code> perl -MLWP::Protocol::https -e "print 'Another https backend right here.'"
Another https backend right here.

3.

code> rakubrew mode
env
code> rakubrew home
C:/Users/jason.cole/AppData/Local/rakubrew
code> rakubrew rakubrew-version
Usage:
(remainder of usage instructions)

Session:

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Loading personal and system profiles took 653ms.
code> rakubrew version
Currently running system
code> rakubrew available
No backend configured for scheme https at App/Rakubrew/Download.pm line 110.
Rakubrew failed with exitcode 2
At line:7 char:9
+         Throw "Rakubrew failed with exitcode $LASTEXITCODE"
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Rakubrew failed with exitcode 2:String) [], RuntimeException
    + FullyQualifiedErrorId : Rakubrew failed with exitcode 2

code> curl -V
curl 7.55.1 (Windows) libcurl/7.55.1 WinSSL
Release-Date: [unreleased]
Protocols: dict file ftp ftps http https imap imaps pop3 pop3s smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile SSPI Kerberos SPNEGO NTLM SSL
code> perl -MLWP::Protocol::https -e "print 'Another https backend right here.'"
Another https backend right here.
code> rakubrew mode
env
code> rakubrew home
C:/Users/jason.cole/AppData/Local/rakubrew
code> rakubrew rakubrew-version
Usage:
     rakubrew version          # or rakubrew current
     rakubrew versions         # or rakubrew list
     rakubrew global [version] # or rakubrew switch [<version>]
     rakubrew shell [--unset|<version>]
     rakubrew local [<version>]
     rakubrew nuke [<version>] # or rakubrew unregister [<version>]
     rakubrew rehash

     rakubrew available        # or rakubrew list-available
     rakubrew build [jvm|moar|moar-blead|all] [<tag>|<branch>|<sha-1>] [--configure-opts=<options>]
     rakubrew triple [<rakudo-version> [<nqp-version> [<moar-version>]]]
     rakubrew register <name> <path>
     rakubrew build-zef
     rakubrew download [jvm|moar|moar-blead|all] [<rakudo-version>]

     rakubrew exec <executable> [<executable-args>]
     rakubrew which <executable>
     rakubrew whence [--path] <executable>
     rakubrew mode [env|shim]
     rakubrew self-upgrade
     rakubrew init

     rakubrew test [<version>|all]

     rakubrew help [--verbose|<command>]

code> perl -v

This is perl 5, version 30, subversion 1 (v5.30.1) built for MSWin32-x64-multi-thread

Copyright 1987-2019, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

code>
patrickbkr commented 4 years ago

I think I fixed this with this commit. I'll release a new version with this (and a bunch of other fixes) soon. Thanks for the report!