Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add base64 as a dependency explicitly for Ruby 3.4.0 support #157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mataku
Copy link

@mataku mataku commented Nov 7, 2024

Context

base64 is no longer the default gem from Ruby 3.4
https://www.ruby-lang.org/en/news/2023/12/25/ruby-3-3-0-released/

On Ruby 3.3, we could see the warning:

warning: base64 was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add base64 to your Gemfile or gemspec.

From Ruby 3.4, we will get the error:

Failure/Error: require 'base64'

LoadError:
  cannot load such file -- base64

Changes

add base64 gem as a dependency to gemspec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant