Skip to content

Commit

Permalink
Merge pull request tokuhirom#85 from astj/workaround-for-rt-30535
Browse files Browse the repository at this point in the history
Add workaround to make crustup work in Rakudo > 2016.11
  • Loading branch information
tokuhirom committed Jan 17, 2017
2 parents f922532 + 00366d5 commit 4c5f9c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Crust/Runner.pm6
Expand Up @@ -112,7 +112,9 @@ multi method run() {
}

my $handler = "Crust::Handler::{$!server}";
require ::($handler);
# FIXME: workaround for Bug RT #130535
# ref: https://github.com/tokuhirom/p6-Crust/pull/85
EVAL "use $handler";
my $httpd = ::($handler).new(|%!options);
$httpd.run(&app);
}
Expand Down

0 comments on commit 4c5f9c1

Please sign in to comment.