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 ?
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:in
require' 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:in
require' 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 ?