I got a rails app that requires redis, mongod, and postgres before starting with rails s. I do not like open several tabs on my terminal and open these services one by one. Is there a way to run everything with one command/script? Is there a specific gem that might help with this? Thanks.
I got a rails app that requires redis, mongod, and postgres before starting with
Share
one way is mentioned by @Tres with using the foreman gem. If you are using rvm you can use a .rvmrc file in your project. There you can simply define some shell commands like
and the like …