Files
Yukihiro "Matz" Matsumoto eb8c177824 mruby-bin-mrb: add compiler-free runtime executor gem
The `mrb` command executes only precompiled RiteBinary (.mrb) files
without depending on mruby-compiler. This enables smaller binaries
for embedded deployments where scripts are precompiled on a
development machine.

Co-authored-by: Claude <noreply@anthropic.com>
2026-04-23 19:25:22 +09:00

20 lines
636 B
Ruby

MRuby::Gem::Specification.new('mruby-bin-mrb') do |spec|
spec.license = 'MIT'
spec.author = 'mruby developers'
spec.summary = 'mruby runtime command (compiler-free)'
spec.bins = %w(mrb)
# NOTE: Unlike mruby-bin-mruby, this gem does NOT depend on
# mruby-compiler. This makes it suitable for builds where the
# compiler is excluded to reduce binary size.
#
# To use this gem in your build_config.rb:
#
# MRuby::Build.new do |conf|
# conf.toolchain
# conf.gem :core => 'mruby-bin-mrb'
# # Do NOT include mruby-bin-mruby or mruby-compiler
# # unless other gems require them.
# end
end