And just to clarify launching this simple script (and then accessing it via
a browser) would show the same problem:
use lib 'lib';
use Bailador;
get '/' => sub {
"hello world"
}
baile;
On Sat, Sep 26, 2015 at 1:16 PM, Gabor Szabo <[email protected]> wrote:
> In the cloned repository of Bailador I ran
>
> perl6 examples/app.pl
>
> It launched the web server printing
>
> Entering the development dance floor: http://0.0.0.0:3000
> [2015-09-26T10:04:46Z] Started HTTP server.
>
> but when I tried to access it with a browser it crashed with:
>
> [2015-09-26T10:04:49Z] GET / HTTP/1.1
> Method 'send' not found for invocant of class 'IO::Socket::INET'
> in method run at
> /Users/gabor/rakudo-star-2015.09/install/share/perl6/lib/HTTP/Easy.pm6:193
> in sub baile at /Users/gabor/work/Bailador/lib/Bailador.pm:153
> in block <unit> at examples/app.pl:38
>
>
> Any idea what's this and how to fix it?
>
> Oh and I found the INET module here:
> /Users/gabor/rakudo-star-2015.09//rakudo/src/core/IO/Socket/INET.pm
> it does not even seem to be "installed".
>
>
> regards
> Gabor
>
>