Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

252
Views
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 answers
Answer question

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 Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!