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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:59:26+00:00 2026-05-11T01:59:26+00:00

I have been creating a website with Ruby on Rails, and will be hosting

  • 0

I have been creating a website with Ruby on Rails, and will be hosting it through a friend. He has the space and capacity to host the server, and I have a system to devote to being a dedicated server. And this is my first attempt at a Rails website, plus self-hosting with a friend.

I will be formatting and preparing the server today and tomorrow with the following software configuration:

  • Apache2
  • Phusion Passenger (aka, mod_rails)
  • Ruby Enterprise Edition
  • MySQL 5

I do have a number of questions, and I apologize for their complexity. I haven’t found a guide for this configuration yet, and being new to Rails I haven’t the experience to navigate my way through this yet.

What build of Linux is most recommended for this configuration?

I have been planning to deploy on CentOS. The caveat is that I have been a Windows user since my early days, and have only used Linux as a webhost and very few development commands (such as CVS). Thus my knowledge of Linux is rather small, and my experience smaller. If I run into any deployment snags, technicalities thanks to the distro of Linux, or anything of the sort … I’m totally hung out to dry.

This includes things like building anything from source code.

How do I set up Capistrano on my server for remote deployment?

I know this is an oxymoron (Capistrano is client-side, not server-side) but I don’t know what it needs on the server. Does it need FTP? SFTP? SSL? SSH? What?

What do I configure on my server, and how do I configure it, to enable Capistrano to run smoothly?

Also, how do I refer Capistrano to the fact that my SCM is on localhost and is by Mercurial? (I used TortoiseMg.) I could convert to SVN and probably set up a repository on the server, but I’m not entirely sure how to do that.

What is the biggest snag you watch for when deploying from a localhost development, to deployment on a totally different OS?

Miscellaneous

Why not deploy to Windows then? Because I’m footing the bill, and I don’t want to pay for another copy of XP or possibly 2000; I refuse to use Vista. Plus, Linux is much more secure than Windows for a server environment.

Why not read the existing guides? I am; this is my first site with Ruby on Rails, my budget is in the less than double-digits area now, and I’m trying to expand my horizons by doing the server configuration and the remote deployment (for further development of the site) by myself. I’ve relied on hosts in the past for my PHP websites, but they’re much more homogeneous in their configuration. Ruby servers are expensive, prohibitively so for me, and to learn its configuration wouldn’t hurt to know.

  • 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. 2026-05-11T01:59:27+00:00Added an answer on May 11, 2026 at 1:59 am

    What build of Linux is most recommended for this configuration?

    Any of the distributions will work fine as long as they can run Apache2 (which is almost all of them) and you can install Passenger (along with ruby and rails). I personally use CentOS and find its package manger to be ridiculously easy to use (yum).

    yum install -y httpd ruby gem install rails passenger 

    Then all you have to do is a little configuration in /etc/httpd/conf/httpd.conf to add Passenger (following the install file for Passenger passenger-install-apache2-module) and point it to your deployment folder .../app_name/current/public.

    Since you are using Passenger you should override the restart task to work for it.

    config/deploy.rb

    namespace :deploy do   desc 'Restart Application'   task :restart, :roles => :app do     run 'touch #{current_path}/tmp/restart.txt'   end end 

    How do I set up Capistrano on my server for remote deployment?

    All Capistrano needs is SSH access with sufficient permissions to deploy, migrate, restart app server, etc. Just follow the getting started guide at the Capistrano website and you will be up and running in no time.

    Capistrano needs access to your SCM, you will need to allow it to connect to your machine. All Capistrano does is checkout your code into a release folder and moves the symbolic link from the old version and restarts your app server.

    What is the biggest snag you watch for when deploying from a localhost development, to deployment on a totally different OS?

    The biggest snag is with migrations, test, test, test, and test them some more. A bug in your application is easy to fix and redeploy, but a bug in your migration could end up a huge pain in the ass with the possibility of data loss.

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

Sidebar

Ask A Question

Stats

  • Questions 95k
  • Answers 95k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer To call ASP.NET AJAX "ScriptServices" and page methods, you need… May 11, 2026 at 7:04 pm
  • Editorial Team
    Editorial Team added an answer It turns out that Splicer was the best option for… May 11, 2026 at 7:04 pm
  • Editorial Team
    Editorial Team added an answer Extension methods appear based on the imported namespaces try adding… May 11, 2026 at 7:04 pm

Related Questions

I'm attempting to use wget to recursively grab only the .jpg files from a
I'm creating a user-based website. For each user, I'll need a few MySQL tables
I'm using EpiServer CMS 5R2 on a new project. I've been tasked with creating
Preamble So, this question has already been answered, but as it was my first

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.