mruby-require error: NoMethodError: undefined method 'puts' for main
问题 I managed to compile the mruby code adding the mrubygem - mruby-require from https://github.com/mattn/mruby-require However when I try to call the require './' I get an error. Below is my code: inc.rb def test(a, b) print "Inside the include->test(..)" return a+b end test1.rb require 'inc.rb' def helloworld(var1) print 'hello world ' + var1 + ". Test number = " + test(4, 5) end helloworld('test') When I execute test1.rb I get this error from mruby: NoMethodError: undefined method 'puts' for