Coder Social home page Coder Social logo

Unable to install about puma-dev HOT 5 CLOSED

puma avatar puma commented on May 22, 2024
Unable to install

from puma-dev.

Comments (5)

JustinAiken avatar JustinAiken commented on May 22, 2024 4

Progress! I think I had done sudo puma-dev -install in the beginning, and it had made some files as root. Fixed by doing:

$ sudo chown $(whoami) ~/Library/Logs/puma-dev.log
$ sudo chwon $(whoami) ~/Library/LaunchAgents/io.puma.dev.plist
$ sudo chown -R $(whoami) ~/Library/Application\ Support/io.puma.dev

Now running puma-dev in the foreground works... but puma-dev in the background still bombs...

$ puma-dev -install
* Use '/usr/local/Cellar/puma-dev/0.7/bin/puma-dev' as the location of puma-dev
* Installed puma-dev on ports: http 80, https 443

$ tail -f ~/Library/Logs/puma-dev.log
* Directory for apps: /Users/jaiken/.puma-dev
* Domains: dev
* DNS Server port: 9253
* HTTP Server port: inherited from launchd
* HTTPS Server port: inherited from launchd
! Puma dev listening on http and https
2016/08/02 15:08:44 Error listening: accept tcp 0.0.0.0:0: accept: invalid argument
2016/08/02 15:08:45 Unable to expand dir: exit status 1
... repeat endlessly...

from puma-dev.

evanphx avatar evanphx commented on May 22, 2024

Zionks! You've got rather strange environment. What shell are you using? Please try running puma-dev in the foreground and see what the output is. Those errors mean it can't figure out where your home directory is...

from puma-dev.

JustinAiken avatar JustinAiken commented on May 22, 2024

What shell are you using?

Just ZSH - the theme is based off the main Oh-My-ZSH one

Please try running puma-dev in the foreground and see what the output is. Those errors mean it can't figure out where your home directory is...

Running it in the foreground works as sudo it looks like, but after running it there, still can't run/install it non-sudo:

jaiken@firefly ➜ ~  puma-dev                                                                                                                                                                                                                                                                                   
2016/08/02 07:02:45 Unable to setup TLS cert: exit status 1

jaiken@firefly ಠ_ಠ ➜ ~  puma-dev -dir ~/.puma-dev                                                                                                                                                                                                                                                              
2016/08/02 07:02:52 Unable to setup TLS cert: exit status 1

jaiken@firefly ಠ_ಠ ➜ ~  sudo puma-dev                                                                                                                                                                                                                                                                          
* Directory for apps: /Users/jaiken/.puma-dev
* Domains: dev
* DNS Server port: 9253
* HTTP Server port: 9280
* HTTPS Server port: 9283
! Puma dev listening on http and https
^C! Shutdown requested

jaiken@firefly ➜ ~  puma-dev                                                                                                                                                                                                                                                                                   2016/08/02 07:04:58 Unable to setup TLS cert: exit status 1

jaiken@firefly ಠ_ಠ ➜ ~  puma-dev -install                                                                                                                                                                                                                                                                      
2016/08/02 07:05:15 Unable to install into system: exit status 1

from puma-dev.

JustinAiken avatar JustinAiken commented on May 22, 2024

Unable to expand dir seems to happen whether I set the dir to ~/.pow, ~/.puma-dev, or /Users/jaiken/.puma-dev... but only through launchctl, all of them work fine in the foreground..

from puma-dev.

JustinAiken avatar JustinAiken commented on May 22, 2024

Ahha! And a restart did the trick 😄

from puma-dev.

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.