Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to run rails applications on digitalocean using "rails s"
My issue is that I created a droplet to develop Rails apps.
I used the one-click ruby droplet. And now I want to create more than the default rails apps in this droplet.
The issue here is that it comes installed with nginx/unicorn .. And they’re always on with path of default rails project in their config files.
Now let’s assume I created another rails app(file) and I want to run it using “rails s” instead of default rails app that is created by the droplet. How can I do it?
Note: I don’t want to change the file path in configs each time I decide to try another app
PS: I tried stopping the service of unicorn/nginx one at a time and both of them in the same time to use “rail s” to run the app .. But it didn’t work .. Web pages were not loading
I know it might be a question of a rookie. But I’m kinda new to these stuff and I’d appreciate it if anyone could help me.