Merge pull request #3965 from take-cheeze/patch-1

Add same fix as #3964 to lib/mruby/gem.rb .
This commit is contained in:
Yukihiro "Matz" Matsumoto
2018-03-05 10:51:32 +09:00
committed by GitHub
+1
View File
@@ -176,6 +176,7 @@ module MRuby
f.puts %Q[ mrb_load_irep(mrb, gem_mrblib_irep_#{funcname});]
f.puts %Q[ if (mrb->exc) {]
f.puts %Q[ mrb_print_error(mrb);]
f.puts %Q[ mrb_close(mrb);]
f.puts %Q[ exit(EXIT_FAILURE);]
f.puts %Q[ }]
end