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

Bump heroics to 0.1.2 for Ruby 3 compatibility #135

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

Conversation

jnoconor
Copy link

@jnoconor jnoconor commented Jun 6, 2023

Running a Ruby 3 application with the platform-api gem can fail with an error like this:

LoadError:
  cannot load such file -- webrick
# ./config/environment.rb:8:in `require'
# ./config/environment.rb:8:in `<top (required)>'

This is because the gem relies on heroics 0.1.1, which in turn relies on webrick but does not have it in its gemspec. Ruby 3 no longer includes webrick by default, so it needs to be explicitly added as a dependency. This work was done in interagent/heroics#102 and released under heroics 0.1.2. Bumping the version here should solve the problem with using platform-api with Ruby 3.

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