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

Should rack-test be considered an optional dependency? #908

Closed
x-yuri opened this issue Oct 24, 2023 · 1 comment · Fixed by #909
Closed

Should rack-test be considered an optional dependency? #908

x-yuri opened this issue Oct 24, 2023 · 1 comment · Fixed by #909

Comments

@x-yuri
Copy link
Contributor

x-yuri commented Oct 24, 2023

I'm running swagger-ui in a docker container by providing it a swagger.json file. Which I build with rake oapi:fetch. After switching from bundle install to bundle install --without test development I realized that grape-swagger needs rack-test, which is not in the dependencies. Do you want to add it to the dependencies? Or should I install it manually? Or I'm doing something wrong? On a side note, why does the rake task need rack-test?

@LeFnord
Copy link
Member

LeFnord commented Oct 24, 2023

yes … please add it to the runtime dependencies in gemspec, it is needed for the rake tasks

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 a pull request may close this issue.

2 participants