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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:41:05+00:00 2026-06-11T11:41:05+00:00

I made my first big project but I have some questions regarding to upload

  • 0

I made my first “big” project but I have some questions regarding to upload it to a repository and then deploy it.

I created a Rails project and I commit all files (ignoring databases and not interesting stuff), that includes production.rb.

The production.rb file have mail configuration, so I have some fake configuration in it.

The problem is that when I deploy, I modify the production.rb file (and 2-3 more files) so my questions comes here:

How I update the project when I push changes? “git pull” won’t work if I push changes on files I modified in local.

I want to upload those files because I want other users be able to use my app without hassle.

Is capistrano a solution for this? AFAIK capistrano relies on a git repo (among others) so if I modify a file locally, capistrano will cry too.

So, what you people does when you have to pull new changes and you have some files modified in local?

  • 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-11T11:41:06+00:00Added an answer on June 11, 2026 at 11:41 am

    If you are making changes to files and you want other people to use them then they should probably be in your git repo. If they have sensitive information in them then (ie. passwords, usernames) then they definatly should not be in your git repo and you can deploy them using the capistrano put command. This command will copy a file, via scp I think, to your deploy server. You can even run the files through erb first so that you can set variables in capistrano or pass variables in and not have to worry about sensitive information being in your git repo. You can find some good information about capistrano here. One of the episodes is a paied episode but if you are doing any amount of rails development then it is a very good resource.

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

Sidebar

Related Questions

I have made my first webpart using WSPBuilder. When I try to deploy it
Visual Studio 2010 Express, Windows Forms. Have made myself my first little application which
First sorry if its a stupid guestion but im a really big beginner. I
This is my first time that I am working on a big project for
I have a pretty big problem. I am going through a Ruby on Rails
i have made two view classes in first view class i am making more
I have had really big problems understand the char* lately. Let's say I made
I am stuck in a very difficult condition. I have made some small projects
I'm working on my first big application and have inadvertently driven myself into a
do you like puzzles to resolve? This is a big one! First, I made

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.