I have a rail application that I like to develop on the server much more than locally, a slow computer, the problem is even that the server has a great development environment. I need a way to look at the pages I'm working on,
It is quite easy if I did not care that the application was visible to the public, but it could not be seen anywhere except for the production server.
So, I had the idea of โโjust putting the basic httpauth, and then only I see the rails application, but it is still hosted on the server.
If I did this with apache / php, I would just use the .htaccess file to protect the directory, but I donโt know how to protect the application from the public with WEBrick.
If anyone has any ideas, I would really like for me to not have any code changes or just code changes in the files, I can .gitignore, so deployment is still easy.
source share