node-mruby is a extension library for node.js. It embeds mRuby into node.js.
path for require is not based on .rb file.
It's not a node-mruby issue. It's may mruby's.
mruby doesn't work with heredocs?