Comments (5)
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.
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.
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.
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.
Ahha! And a restart did the trick 😄
from puma-dev.
Related Issues (20)
- Ruby debugger? HOT 5
- Proxy doesn't work when domain is `local`
- Add a generic command to the proxy support HOT 1
- puma-dev not working in Ubuntu 22.04 with Rails 4 HOT 2
- "unexpected exit: No puma executable found for ruby system" HOT 1
- [zsh] [mac] On Mac OS puma-dev loads interactive zsh init files HOT 2
- Running in Docker Alpine results in `http: panic serving 172.17.0.1:42896: runtime error: invalid memory address or nil pointer dereference` HOT 1
- How to stop puma-dev without uninstalling?
- puma-dev -install can miss adding CA cert to Keychain HOT 1
- Ruby version mismatch between puma-dev and the Rails app HOT 1
- Allow multiple copies of the same app to run independently with different configurations HOT 2
- Not reaching app HOT 2
- Server's ip address could not be found.
- Instructions for puma-dev HTTPS with guard-livereload?
- How to use while offline? HOT 1
- `DNS Server failed: listen tcp 127.0.0.1:9253: bind: address already in use` error when starting the app with `puma-dev` command HOT 1
- Cannot configure puma-dev to use ipv6 proxy
- Curl::Err::HostResolutionError on WSL HOT 2
- Difference with Linux and MacOS for same code
- Changing the port is not picked up
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puma-dev.