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 3352942
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T02:05:29+00:00 2026-05-18T02:05:29+00:00

what is the optimum OS,server, etc setup for rails production environment? Your recommendations? thanks

  • 0

what is the optimum OS,server, etc setup for rails production environment?

Your recommendations?

thanks

  • 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-18T02:05:29+00:00Added an answer on May 18, 2026 at 2:05 am

    There are many, many different ways to configure a Rails server. I don’t know if there if such a thing as an ‘ideal’ config. I will tell you how I have my server configured and why.

    Operating System: Linux, any distribution.

    This is the only server platform that makes any sense. The Ruby community is centered around Linux, but BSD would be a perfectly good choice as well. I am most comfortable with Linux.

    OSX is a great development platform, but the extra cost doesn’t really buy you anything on the server side you can’t get on Linux. And Apple is phasing out the Xserve platform, so there likely isn’t a future there anyway. Don’t even think about using Windows.

    Web Server: Apache + Phusion Passenger

    I recommend Apache because it’s everywhere. Everyone knows it. Getting support is dead simple.

    Phusion Passenger is probably the easiest application server to get started on. Here’s a sample VirtualHost config:

    <VirtualHost x.x.x.x:80>
        ServerName xxxx.com
        DocumentRoot /var/www/xxxx/current/public
        PassengerHighPerformance on
        <Directory "/var/www/xxxx/current/public">
            AllowOverride all
            Options -MultiViews
        </Directory>
        AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml application/json
        AddOutputFilterByType DEFLATE image/jpeg, image/png, image/gif
    </VirtualHost>
    

    That’s it. (And most of that isn’t strictly necessary)

    Ruby interpreter: Ruby Enterprise Edition

    I use this instead of vanilla MRI because it’s a bit more memory efficient, which makes a big difference on the server. It is also made to integrate with Passenger.

    One downside to REE is that it is based on 1.8.7. You may want to use 1.9.2 instead because there is a significant performance benefit.

    Gem Management: RVM

    RVM lets you create sandboxed gem environments for different applications, in case there are version conflicts. Highly recommended for your development environment as well.

    Deployment System: Capistrano

    If you’re not using Capistrano, you should. This will be the single biggest time-saver you can do for production deployment. It will also make rolling back to the previous version dead simple if theres a problem.

    You should also have ExceptionNotifier installed. If there’s an exception on your production server you should know about it.

    I also highly recommend checking out NewRelic RPM for profiling. Even the free version provides some useful info.

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

Sidebar

Related Questions

What is the optimum number of projects in a Visual Studio 2008 solution? We
What methods are available for determining the optimum stack size for embedded/memory constrained system?
What could be the optimum programming languages (Perl, PHP, Java, Python or something else)
I am trying to load the data in Oracle server remotely. I am doing
I am going to use SQL Server in my project, for that I want
I would like to know how to measure/know that one's stored procedure is optimum
Having seen some suggestions for graphs, I wonder what's the optimum for my problem.
I'm writing a client-server win32 application in Delphi 7 and in a section i
Here is the setup: end_date = DateTime.parse('2010-01-01 12:00:00-04') and sometimes it's initialized: end_date =
Is there such a thing as an optimum chunk size for processing large files?

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.