h2o / h2o

H2O - the optimized HTTP/1, HTTP/2, HTTP/3 server

Home Page:https://h2o.examp1e.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[mruby] Leverage mruby-pack methods

minami-o opened this issue · comments

Hi there,
I would like to leverage the mruby-pack module using the mruby-handler directive.
My build says mruby-pack was added as an "included gem", but whenever I use the pack or unpack methods in a mruby-handler h2o.conf, I get an error like "undefined method 'unpack'".
Could anyone please help me out?
It feels like a really basic question, but everything I tried so far failed and I’m really new to mruby…
Thanks!