Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9253461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:13:28+00:00 2026-06-18T11:13:28+00:00

I am new to Ruby on Rails development. I have been given a task

  • 0

I am new to Ruby on Rails development. I have been given a task to make some changes to an existing Ruby on Rails website, that was created by another ROR developer. My question is, how do I setup a local development environment that mimics the one the previous developer used? Are there certain files in the application that will guide me in this process? Such as how to connect to the staging database, which is the correct local server to run, etc..

I have been trying to figure this out for a couple of weeks now. On a previous project I made changes to the application, then pushed it to the staging version on heroku. I know that was a horrible way to do things, but I had no other choice. And, I don’t want to have to do that again in this instance. Any help would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T11:13:29+00:00Added an answer on June 18, 2026 at 11:13 am

    Step one: if the previous developer didn’t leave you any setup notes, start by taking notes on what you learn, so the next developer to work on the project will get up and going quicker.

    First, you’ll want to be sure you’re using the same version of ruby. Check the project’s root for a .rvmrc or .ruby-version file or similar. You might be able to see what version is being used in prod as well.

    Next, for the database configuration, look in config/database.yml for where it expects to find a database. Typically there will be one for development that runs on your local machine, one for test, and one for production, but there may be others as well. In our organization config/database.yml is a symlink to a config file in config/databases, and we have different setups for dev, qa, and production environments, plus custom ones for individual developers. If your company happens to have a development mode database in a ‘central’ location, you might be able to configure your setup to use that one instead of having to set it up on your own box.

    Pay special attention to the ‘test’ database settings, as that database will get destroyed and recreated each time the tests run.

    Next, run ‘bundle install’ and make sure all gems get installed without errors. Once you have all gems installed, you might want to just load the rails console to make sure the environment initializes properly. Next, try running the test suite via ‘rake test’ or ‘rake spec’.

    Hopefully once that’s all running, you’ll be able to start a local server via ‘rails s’ in a console and pointing your browser at localhost:3000. If the project uses other services like memcached, redis, or foreman, you might need to do additional setup for those things.

    You might also like to read how Thoughtbot handles this, plus the comments about using vagrant.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new with ruby and rails and have been struggling with this issue for
I've recently started doing some ruby on rails development on Windows 7 and have
I have been creating a website with Ruby on Rails, and will be hosting
hi im new in ruby on rails development and currently im working in a
I am new to Ruby on Rails and I am trying to make a
I am relatively new to rails and have been working my way through the
I'm a PHP dev and I'm new to Rails but have been getting on
I have a Ruby on Rails application that has two active environments, Stage and
I have recently upgraded to Rails 3 and created a new application with Rails
I created a new rails app (3.2.3, ruby 1.9) and try to start server.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.