-
Notifications
You must be signed in to change notification settings - Fork 106
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
Please improve the experience with Linux #155
Comments
FYI we run puma-dev on both Ubuntu and Mac, and this is the process we use to bootstrap it on Xenial:
(substitute the $USER and $HOME variables based on the name of the user you want to run under)
You should now have puma-dev always running in the background, listening to port 80 and 443, with functioning SSL. |
Puma-dev is a pleasure to work with on my Mac, but unfortunately on my Ubuntu 18.04 machine I'll have to use ngrok to work with API's that require ssl until I figure out how to install the certs puma-dev generates. The steps outlined by @mlarraz were helpful. I was able to get the dev-tld resolver mentioned in the puma-dev README to work in place of dnsmasq. The instructions for installing the certs here were helpful, but even though it seems like they installed successfully, my browsers still complain about an unsafe connection. |
Anything is possible, we just need pull requests to make it a reality. AFAICT none of the open PRs to the puma-dev projects solve any of these issues (though point me to them if they do). |
Why are my comments deleted? |
Any comments that are not constructive or helpful will be deleted. If this thread becomes a magnet for them, it will be locked. The other comments in this issue have already laid on an extremely helpful roadmap for improving Linux support. These all sound like great ideas. |
I tried following @mlarraz instructions, results:
Seems that inotify is obsolete / doesn't exist anymore: https://github.com/golang/exp/tree/master/inotify is it possible to remove it from vendors and use fsnotify instead? (it's already there) |
Mostly following advice on puma#155
What if any, are the issues with a puma-dev deployment on Bionic? |
@cmeans try it and let us know if you have any issues. @gkatsanos did that error prevent you from continuing? I tried
|
Tried to follow the steps at: #155 but stuck on step:
with the following error:
Any help is appreciated |
@tusharbhutada-tudip some diagnostic information would be helpful. go version, distribution name and version, etc. note that AFAIK |
I tried with And sorry but I'm not sure what to do next. Can you please help? What should I do next to make puma-dev running on my ubuntu |
@tusharbhutada-tudip you probably don't want to build and run puma-dev inside a docker container. that approach was just to demonstrate building from source on a known ubuntu system. I'll add a note to that
Puma-dev setup setup on linux is very manual at present. Once you have the binary on your PATH, follow the steps https://github.com/puma/puma-dev#linux-support to enable all the bells and whistles like DNS resolution and daemonization. |
Wondering if anyone has had any success daemonizing puma dev and having it bound to ports 80/443. I've tried a few changes to the systemd service file and none of them seem to have worked. I'm running 20.04. I can run puma-dev on 80/443 manually by running it through Service configs I've tried:
In all of these cases, I've specified the actual path to Both the It's not urgent, since all my work is done in a tmux config and it's pretty cheap to set some pane somewhere off in a dark corner to run puma-dev in the foreground, but it would be nice to have it spun up on boot. |
@flyinggrizzly I am on Ubuntu 20.10. Installed using setcap and with the downloaded puma-dev binary put into I was getting this error when doing a
In the systemd service file, I simply hard coded the |
Everything is outdated, it's a real pain to set up puma-dev on ubuntu 20.04 right now. This is as close as a guide I could find :https://medium.com/@abhinavshakya05/configure-puma-dev-in-ubuntu-e1b36b5d91ba EDIT
(it means not found at line 27) I suspect it's because of RVM / Bundler but even aliasing EDIT# 2 : fixed it by adding a
So follow these steps :
|
@kofronpi and @flyinggrizzly I was hitting the same issues with running in the background. I was able to get it working in ubuntu 20.04 on boot up with the following service config. Hope it helps!
|
Hi,
I am a Mac user and currently working with some guys who are using Ubuntu as their main Operating System. Also a good choice.
However, I really see now how painful setting up puma-dev on Linux is.
$ puma-dev doctor
, which tells what works and what does not yet workWould it be possible to improve the linux support a bit?
The text was updated successfully, but these errors were encountered: