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

Feature: Allow running in dev server without rails server (e.g. with puma directly) #57

Open
kjlape opened this issue Dec 31, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@kjlape
Copy link

kjlape commented Dec 31, 2024

I've been using puma-dev to run my rails apps for local dev. By default it starts them with the puma command resulting in Rails::Server not being defined, which disables this plugin as of version 0.1.12. This is my cursory assessment.

I haven't had a chance to run down any solutions yet, but wanted to open this issue to see if this project would accept PRs to support this workflow.

Possible solution brainstorm:

  • Detect if we're running inside puma or rails server
  • Force enable with an environment variable

Of course open to other ideas I haven't thought of! I'd be happy to do the work on this when my schedule permits. Possibly this weekend.

@jorgemanrubia jorgemanrubia added the enhancement New feature or request label Jan 1, 2025
@jorgemanrubia
Copy link
Member

Good one 👍 . There must be a better way of detecting that the process is running within a web server than checking that constant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants