Skip to content

Instantly share code, notes, and snippets.

@marcusramberg
Created February 16, 2014 11:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcusramberg/9032876 to your computer and use it in GitHub Desktop.
Save marcusramberg/9032876 to your computer and use it in GitHub Desktop.
wirc@wirc:~/convos$ CONVOS_REDIS_URL=redis://127.0.0.1:6379/1 MOJO_MODE=production ./vendor/bin/carton exec -- hypnotoad -f script/convos
Server available at http://127.0.0.1:8585.
Mojo::Reactor::EV: Timer 70c90200485c62b61b8b2f7b8cdb3f64 failed: Mojo::IOLoop::Delay: Can't call method "req" on an undefined value at /home/wirc/convos/local/lib/perl5/Mojolicious/Controller.pm line 261.
256: }
257: $self->tx->resume;
258: return $self;
259: }
260:
261: sub req { shift->tx->req }
262: sub res { shift->tx->res }
263:
264: sub respond_to {
265: my $self = shift;
266: my $args = ref $_[0] ? $_[0] : {@_};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment