GithubHelp home page GithubHelp logo

Comments (6)

kyledecot avatar kyledecot commented on June 24, 2024

Also, it seems like Capistrano (or Rails) creates a shared/tmp/sockets directory. Should this directory be used instead of creating a directory just for puma?

from capistrano-puma.

seuros avatar seuros commented on June 24, 2024

@kyledecot I changed the directory to match capistrano's sockets folder, however you will have to create the Puma directory if you want to use the jungle (the script ask for that) for now. In future release, you will be able to configure it.

I also updated the README with some missing informations. Let me know if you if there is any other issue.
Thank you

from capistrano-puma.

kyledecot avatar kyledecot commented on June 24, 2024

I don't believe I'm using the jungle. I simply ran the two commands I indicated and received the error. What/who is responsible for creating this sock file?

from capistrano-puma.

seuros avatar seuros commented on June 24, 2024

puma try to create the socket after reading from /var/www/skateboxes/shared/config/puma.rb

Did you run puma:config ? if you did :
bundle update (to get the lastest version) and rerun it.
This time, the socket will be created in sockets folder.

You still have to set puma_state and puma_pid in other folder, if you don't have the puma folder in the shared path.

from capistrano-puma.

seuros avatar seuros commented on June 24, 2024

I pushed a new version, now you won't have to create any extra folder. Just puma:config (once) and then puma:start

from capistrano-puma.

kyledecot avatar kyledecot commented on June 24, 2024

Starting works much better now. Stopping on the other hand is a different story, haha. I'll open another issue. Thanks for your help so far!

from capistrano-puma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.