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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:04:26+00:00 2026-05-28T04:04:26+00:00

I have started developing a new Rails app on my server using RVM, Rails

  • 0

I have started developing a new Rails app on my server using RVM, Rails 3, & Ruby v1.9.2. I am using Git as my code repository. It’s a simple app and I don’t want to use an extra server. I just want to deploy my app directly from the same server I am developing on.

I’ve installed Phusion Passenger w/ Apache to serve my app, but have realized that I can’t do that pointing to my development directory as my RAILS_ENV is set to “development”. (I found I got file permission errors on the asset pipeline and other issues when I attempted to set RAILS_ENV to “production” and serve the app)

What’s the simplest/easiest way to deploy the app? Can I simply:
1) Create a separate user to run rails production (Rails in dev currently runs as me on my Ubuntu server)
2) Clone my repo into a separate dir and configure Apache accordingly
3) Seed my database with the data needed for production (not much data needed here)
4) What else?

I’ve looked briefly at Capistrano, but it seems like overkill for this simple app. I only need to be able to provide a simple web interface for some data entry. Seems like git push should be sufficient, but I haven’t done this before so maybe I’m wrong? Also, if I git push how do I ensure file permissions in the “production” directories are all set properly, particularly for any new files that get created in the originating app directory structure?

Thanks for any ideas.

  • 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-28T04:04:27+00:00Added an answer on May 28, 2026 at 4:04 am

    No- you do not need Capistrano for the above; at this stage I feel it will only serve to confuse you further.

    I’d suggest you first save your repo to a private Github or free BitBucket account. What you should do is keep one folder for ‘development’.

    Remember that Passenger is ‘just’ a module working with Apache. So what you need to do is setup a virtual host under apache and direct that to another folder on your system. For this example, consider:

    ~/rails/myapp_development/ and ~/rails/myapp_production/

    Passenger always runs the app in production, so that should not be an issue. You can do bundle --without=production in your development setup to ignore any gems listed in the Gemfile under the production namespace, i.e. say you’ve got the mysql adaptor specified, you can ignore this and have Rails only rely on the SQlite gem.

    You can now simply develop in the development folder, commit, push to BitBucket. Deploying will be as simply going into the production folder and doing a git pull and touch tmp/restart.txt.

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

Sidebar

Related Questions

I started developing a Facebook app using the new Graph API. I want to
I am co-developing a simple web app in Rails 3.0.9 and I have realized
We are developing our new application in .Net 3.5 and we have started using
Am learning AppEngine and have started developing new app and want to clarify something.
I started developing my rails application using sqlite. I have reached a point where
I am new to php and the yii framework. I have started developing simple
I am a new game developer and have started developing game for android. I
I'm new to ruby on rails and trying to start learning. I'm developing on
I just started developing a new website and I have some questions. You can
While developing my ASP.NET MVC, I have started to see the need for a

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.