Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

254
Vistas
Start postgresql db every time using rails server?

I'm trying to locally start my rails server

but do I have to start my postgresql db each time I want to rails s?

I'm new to rails so I'm not sure how this works. I remember not having to do such a thing on something I've worked on before..

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

As mentioned in other answers you have to make sure that Postgres is runnign and serving your database. This is not handled by Rails.

Usually you would configure the Postgres server as an OS background service that starts with your system. Which operating system do you use? In case it's MacOS and you're already using Homebrew, I'd recommend using Hombrew services. You can read more about it here: https://github.com/Homebrew/homebrew-services

Basically you'd tell Homebrew to start postgres with your system, like this: brew services start postgres

over 4 years ago · Santiago Trujillo Denunciar

0

You can use system commands to run postgresql server automatically on system boot

sudo systemctl enable postgresql 

or

sudo update-rc.d postgresql enable

However it also belongs on how you install postgres

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda