You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hen running the project with Ruby 3.4, an error occurs because the base64 library has been removed from the default gems. This results in a failure when attempting to require 'base64'.
To Reproduce
Set up your environment using Ruby 3.4.
Install coverband normally.
Run your application or tests.
Observe the following error message:
bundler: failed to load command: unicorn (/vendor/bundle/ruby/3.4.0/bin/unicorn)
<internal:/usr/local/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:37:in 'Kernel#require': cannot load such file -- base64 (LoadError)
from <internal:/usr/local/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:37:in 'Kernel#require'
from /vendor/bundle/ruby/3.4.0/gems/coverband-6.1.4/lib/coverband/reporters/web.rb:3:in '<top (required)>'
from <internal:/usr/local/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:37:in 'Kernel#require'
from <internal:/usr/local/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:37:in 'Kernel#require'
from /vendor/bundle/ruby/3.4.0/gems/coverband-6.1.4/lib/coverband.rb:134:in 'Coverband::Reporters::Web#initialize'
from /vendor/bundle/ruby/3.4.0/gems/coverband-6.1.4/lib/coverband.rb:147:in 'Class#new'
from /vendor/bundle/ruby/3.4.0/gems/coverband-6.1.4/lib/coverband.rb:147:in 'Coverband::Reporters::Web.call'
from config.ru:45:in 'Router#coverband'
from config.ru:30:in 'Router#call'
...(omitted)
The application should load without errors in Ruby 3.4. It appears that adding base64 explicitly in the Gemfile (e.g., gem 'base64') could resolve this issue.
Screenshots
None
Desktop (please complete the following information):
I think it is not needed
Additional context
coverband version: v6.1.4
The text was updated successfully, but these errors were encountered:
Describe the bug
hen running the project with Ruby 3.4, an error occurs because the
base64
library has been removed from the default gems. This results in a failure when attempting to require 'base64'.To Reproduce
I think this file is related...?
coverband/lib/coverband/reporters/web.rb
Line 3 in 34dc51b
Expected behavior
The application should load without errors in Ruby 3.4. It appears that adding
base64
explicitly in the Gemfile (e.g.,gem 'base64'
) could resolve this issue.Screenshots
None
Desktop (please complete the following information):
I think it is not needed
Additional context
coverband version: v6.1.4
The text was updated successfully, but these errors were encountered: