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

  • Home
  • SEARCH
  • 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 4060780
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T15:22:56+00:00 2026-05-20T15:22:56+00:00

I currently have a RoR application set up in a (semi-)production environment on a

  • 0

I currently have a RoR application set up in a (semi-)production environment on a remote server (Debian).

My stack is:

  • ruby 1.9.2p136
  • Rails 3.0.3
  • lighttpd 1.4.26
  • thin 1.2.7
  • mongoDB 1.6.5
  • Bundler and numerous gems

It’s working OK right now, but setting it up was a real nuisance (conflicts and old Debian packages). Because of that, once it worked, I was doing all the customizations in the application code remotely. It was acceptable as a temporary solution (for small fixes), but now I have to dig deeper, thus my need for a full local development environment (with proper debugging).

What would be the best approach to replicate my production setup locally (Ubuntu) as faithfully as possible? I’m a bit perplexed by the multitude of gems installed (as I get the feeling it’s all in a “just don’t touch as long as it’s working” state).

Is switching at this moment to RVM on the remote server worth the trouble? And in general, how do you otherwise cope with multiple RoR projects with separate dependencies when developing locally?

Lastly, after I replicate the stack, what to do with the (sub)domains? From this question I suppose modifying /etc/hosts should suffice, but is there some better way so that the actual production site remains accessible?

  • 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-05-20T15:22:57+00:00Added an answer on May 20, 2026 at 3:22 pm

    I have a similar setup with Ubuntu as my local host and Centos as my remote host. I had setup my remote (production) server first and then, wanted to replicate it on my local (development) server.

    However, I did want to develop on different Ruby environments depending upon the requirements of the project.

    So, I setup RVM on my local server, with one of the RVM Ruby@Gemset configuraton resembling exactly what I had on my production server.

    Depending upon the applications you use, and their ruby version requirements, you can switch to RVM on your production server.

    Just remember to make good use of RVM’s .rvmrc Project files, default and system tags.

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

Sidebar

Related Questions

I'm currently looking at hosting solutions for my Ruby on Rails SaaS web application,
I have a RoR app running rails 2.3.8 which makes use of the Rails
I currently have a list of a book object as follows: public class Book()
I currently have a deep object, and it is all unicode (sadly). I am
I currently have a view in my Android app and the view is playing
I currently have a bookings model such as: public class RoomBooking : Entity, IBooking
Intro We have a project to design and implement this semester. For our project,
I've read quite a few posts that are very similar to the question I'm
I am trying to follow the rules and stay RESTful, but I am running
What is the best practice (interface and implementation) for a command line tool that

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.