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

puma-dev unable to start worker error #344

Open
apzachkattawar opened this issue Jul 23, 2024 · 0 comments
Open

puma-dev unable to start worker error #344

apzachkattawar opened this issue Jul 23, 2024 · 0 comments

Comments

@apzachkattawar
Copy link

apzachkattawar commented Jul 23, 2024

I am trying to get puma-dev server working locally, and im hitting an issue. If I tail these logs tail -fn 2000 ~/Library/Logs/puma-dev.log I can see this error

myapp-135b9fd1[92033]: [92508] ! Unable to start worker myapp-135b9fd1[92033]: [92508] /Users/bsmith/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.13/lib/bundler/source/git/git_proxy.rb:329:in "allowed_with_path" mycase_app-135b9fd1[92033]: [92511] + Gemfile in context: /Users/bsmith/myapp/myapp/Gemfile

note: I changed 'allowed_in_path' to "allowed_in_path" above because it was breaking code snippet

This is on my local mac computer with an M1 chip, running Ventura 13.4.1. I use rbenv locally and am using ruby 3.2.2.

I tried installing puma-dev with a set of steps like this
brew install puma/puma/puma-dev
sudo puma-dev -setup
puma-dev -install -d test -timeout 1440m

I looked in the method where it is failing and saw this block of code in the path in the error above
def allowed_with_path return with_path { yield } if allow? raise GitError, "The git source #{uri} is not yet checked out. Please run "bundle install" before trying to start your application" end
The error being raised in this block never has its error message make it back to the puma logs, but I know that bundle install has run properly. I can spin up a rails console just fine and load models from the DB.

does anybody have any experience with this or have an idea of what part of puma is failing here?

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

No branches or pull requests

1 participant