Skip to content

Commit

Permalink
Merge pull request #2081 from nghttp2/fix-mruby-crash
Browse files Browse the repository at this point in the history
mruby: Exclude mrdb gem which causes nghttpx to crash
  • Loading branch information
tatsuhiro-t committed Feb 22, 2024
2 parents 2b28011 + bfeb1ee commit ea4e5ce
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions third-party/build_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,30 @@ def config(conf)

conf.build_dir = ENV['BUILD_DIR']

# include the default GEMs
conf.gembox 'default'
# Here is the mruby gems included in default.gembox minus
# mruby-bin-debugger which causes the application to crash.
conf.gembox "stdlib"
conf.gembox "stdlib-ext"
conf.gembox "stdlib-io"
conf.gembox "math"
conf.gembox "metaprog"

# Generate mrbc command
conf.gem :core => "mruby-bin-mrbc"

# Generate mirb command
conf.gem :core => "mruby-bin-mirb"

# Generate mruby command
conf.gem :core => "mruby-bin-mruby"

# Generate mruby-strip command
conf.gem :core => "mruby-bin-strip"

# Generate mruby-config command
conf.gem :core => "mruby-bin-config"

# Added by nghttp2 project
conf.gem :core => 'mruby-eval'
end

Expand Down

0 comments on commit ea4e5ce

Please sign in to comment.