Closed kbrock closed 6 years ago
I don't think we are officially supporting mruby, as it's missing many of the necessary constants, last time I checked.
@postmodern ok. If this change is too invasive, just close.
Thanks again for the tool
Wow, turns out mruby-1.2.0 was released three days ago. Just tested it, and it supports RUBY_ENGINE
and RUBY_VERSION
. Although, ruby-install would have to install mruby, and setup ruby
and irb
symlinks.
Rescuing Exception would prevent any potential errors from disrupting chruby's execution. It would also silently swallow any serious errors. Appears that mruby 1.2.0 raises a NoMethodError, due to require not being defined.
thanks again for the great tool. closing
mruby does not define
LoadError
(norrequire
)This works when I replace the
rescue LoadError
withrescue
thanks for this great library