puma-dev | A tool to manage rack apps in development with puma
kandi X-RAY | puma-dev Summary
kandi X-RAY | puma-dev Summary
Puma-dev is the emotional successor to pow. It provides a quick and easy way to manage apps in development on macOS and Linux.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of puma-dev
puma-dev Key Features
puma-dev Examples and Code Snippets
Community Discussions
Trending Discussions on puma-dev
QUESTION
Whenever I try to run
...ANSWER
Answered 2021-Nov-16 at 11:46Well, this is interesting. I did not think of searching for lsof
's COMMAND
column, before.
Turns out, ControlCe
means "Control Center" and beginning with Monterey, macOS does listen ports 5000
& 7000
on default.
- Go to System Preferences > Sharing
- Uncheck
AirPlay Receiver
. - Now, you should be able to restart
puma
as usual.
QUESTION
Having a very confusing issue
My local app is running in it's staging
environment. I use puma-dev for the server and when I tail it by running tail -f ~/Library/Logs/puma-dev.log
it says that the environment is development, but when I log out to my view using <%= Rails.env %>
it says staging
and the app tries to use any staging
environment variables that it needs instead of the variables for the development
environment.
The app has environments for Development
, Staging
, Test
and Production
. It is only recently that I noticed this was running in staging, I'm not exactly sure how or when it switched over but for the last couple years it was running in dev just fine, I recently added a staging env to help with a rails upgrade and some point over the last week this started running in staging.
I always thought this was set by the server when started but with puma-dev saying it's env is development I am at a loss for how this is trying to run in staging.
puma-dev output when starting
...ANSWER
Answered 2020-Oct-28 at 18:13To make sure I'm clear:
- your local app is 'staging'
- you want your local app to be run in 'development'
- you see puma running in 'development', but the app seems to be pulling variables for 'staging'
- you want puma running in 'development' and the app to recognize that it's in 'development'
Puma is setting its environment like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install puma-dev
You may download binaries for macOS and Linux at https://github.com/puma/puma-dev/releases.
If you wish to have puma-dev use a port other than 80, pass it via the -install-port, for example to use port 81: puma-dev -install -install-port 81. NOTE: If you installed puma-dev v0.2, please run sudo puma-dev -cleanup to remove firewall rules that puma-dev no longer uses (and will conflict with puma-dev working). NOTE: If you had pow installed before in the system, please make sure to run pow's uninstall script. Read more details in the pow manual.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page