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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T16:01:39+00:00 2026-06-10T16:01:39+00:00

I have created a website on my machine using rails and now I would

  • 0

I have created a website on my machine using rails and now I would like to put it on a server machine ( different machine ) and run it. I have a dedicated server running on linux which uses apachee. Now i am interesting in running the server and running rails website on it. However i am not sure how to do it.

To my understanding I must use some kind of software to run it, and the one that was selected his phusion passenger but how would i transfer this?

Do I just copy and paste the folder in the server where www exist, if what should i do.
I have few gems installed on my machine such as paperclip, rmagic do i need to install them by just bundle install or does phusion passenger will take care of it??

Thanks in advance!

  • 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-10T16:01:41+00:00Added an answer on June 10, 2026 at 4:01 pm

    You have to install Phusion Passenger on your Apache box. Seeing as you are on Linux, the install should be straight forward. http://www.modrails.com takes you to the Passenger download page.

    Installing Passenger will not change anything about your app, if your app needs any Gems, you’d still need to run bundle install to get them installed.

    You’ll copy your app from your development machine to your deployment machine. Where you put it is your choice. Once Passenger is installed, all it needs to know is where the root of your rails app is. Typically you’d define it in the virtual hosts configuration section of apache, here is an example:

    <VirtualHost *:80>
      SuexecUserGroup "#1000" "#1000"
      ServerName yourdomain.com
      ServerAlias www.yourdomain.com
      ServerAlias www.yourdomain.net
      DocumentRoot /home/yourappdir/public
      CustomLog /home/logs/access_log combined
      ScriptAlias /cgi-bin/ /home/cgi-bin/
      ScriptAlias /fcgi-bin/ /home/fcgi-bin/
      XSendFile On
      <Directory /home/yourappdir/public>
        Options -Indexes IncludesNOEXEC FollowSymLinks -MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
      </Directory>
      <Directory /home/cgi-bin>
        Order allow,deny
        Allow from all
      </Directory>
      <Directory /home/fcgi-bin>
        Order allow,deny
        Allow from all
      </Directory>
      RackEnv production
    </VirtualHost>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a website on azure running Orchard CMS using a SQL Compact
I have created a website using vbulletin i have installed CMS and BLOG modules
I have created a website using modx evolution v1.0.2. The website that I have
I have created a website using asp.net and I have created some resource files
I want to deploy a Website which i have created using Microsoft Visual Studio
I want to deploy a Website which i have created using Microsoft Visual Studio
I am developing a website using SQL Server Express on my development machine. My
I have some problems with mod_rewrited at .httacess. We have created a website, the
I have created a facebook website open graph application for my website www.heyngine.com. The
I have created a Drupal website with a new page for registration purposes. I

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.