pmq20 / ruby-packer

Packing your Ruby application into a single executable.
MIT License
1.56k stars 99 forks source link

Can not build with Ruby 3.0.0 #149

Open smichaut opened 3 years ago

smichaut commented 3 years ago

Hi, I have clone ruby-packer from the source and trying to build it against Ruby 3 (ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] on CentOS 8.3). When running bundle (or bundle install) I have the following exception: Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. <internal:/usr/local/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in require': /usr/local/lib/ruby/3.0.0/x86_64-linux/zlib.so: undefined symbol: inflateReset - /usr/local/lib/ruby/3.0.0/x86_64-linux/zlib.so (LoadError) from <internal:/usr/local/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:inrequire' from /usr/local/lib/ruby/3.0.0/bundler/fetcher.rb:6:in <top (required)>' from <internal:/usr/local/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:inrequire' from <internal:/usr/local/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require Any idea what am I doing wrong ?

tasdendu commented 3 years ago

I am also eagerly waiting for the release of ruby-packer for Ruby-3.0.0 support. When can we expect the release?