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 webrick to support Ruby 3.x #853

Merged
merged 1 commit into from
Mar 13, 2022
Merged

Conversation

takahashim
Copy link
Contributor

In Ruby 3.x, webrick is no longer included in the standard distribution.
So add it as a gem so that example will work properly.

@LeFnord
Copy link
Member

LeFnord commented Mar 13, 2022

thanks again @takahashim … please can you update the changelog

@takahashim
Copy link
Contributor Author

Thank you! I have rebased it.

@LeFnord
Copy link
Member

LeFnord commented Mar 13, 2022

👍

@LeFnord LeFnord merged commit 06975c8 into ruby-grape:master Mar 13, 2022
aliuk2012 added a commit to alphagov/forms-api that referenced this pull request Nov 7, 2022
grape-swagger 1.5 included "webrick" server in the
build as we are using puma server this caused a conflict
when rackup ran and returned the following message

ruby-grape/grape-swagger#853

```
.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.20/lib/bundler/rubygems_integration.rb:308:in `block in replace_bin_path': can't find executable rackup for gem rack (Gem::Exception)
```

We should still use puma because WEBRick is not really fit
for production use so we shoudl still stick with puma
for local development and production.
aliuk2012 added a commit to alphagov/forms-api that referenced this pull request Nov 8, 2022
grape-swagger 1.5 included "webrick" server in the
build as we are using puma server this caused a conflict
when rackup ran and returned the following message

ruby-grape/grape-swagger#853

```
.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.20/lib/bundler/rubygems_integration.rb:308:in `block in replace_bin_path': can't find executable rackup for gem rack (Gem::Exception)
```

We should still use puma because WEBRick is not really fit
for production use so we shoudl still stick with puma
for local development and production.
aka-momo pushed a commit to aka-momo/grape-swagger that referenced this pull request Feb 8, 2023
Bhacaz pushed a commit to Bhacaz/grape-swagger that referenced this pull request Aug 31, 2023
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.

2 participants