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

  • Home
  • SEARCH
  • 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 8620841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:40:42+00:00 2026-06-12T06:40:42+00:00

This is a basic, stupid question, but I configured my Rails app to deploy

  • 0

This is a basic, stupid question, but I configured my Rails app to deploy on Heroku, and I’m able to open the application from my Heroku account, etc. But when I want to change my code, do I need to re-deploy the whole application? I tried just committing/pushing to heroku master, but I get the error “fatal: remote end hung up unexpectedly.” What should I do instead?

Also: am I supposed to run db:migrate BEFORE deploying/pushing?

  • 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-12T06:40:44+00:00Added an answer on June 12, 2026 at 6:40 am

    There is nothing stupid about a basic question, as everyone has to start somewhere.

    The basic process with deploying a Rails app to Heroku is to:

    1. Make changes
    2. Add and Commit your changes ($ git add files_changed.rb & $ git commit -m "make changes")
    3. Push your changes to Heroku ($ git push heroku master)

    This then pushes your code to the remote Heroku repository and redeploys your Rails application. If you have made any database migrations, you need to run:

    $ heroku run rake db:migrate
    

    This runs db:migrate on your heroku app – see how that works? 🙂

    Running rake db:migrate locally simply migrates your local development database.

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

Sidebar

Related Questions

This may seem like a basic/stupid/obviously-answered question, but I wanted to check: why use
Sorry, this might be a basic/stupid/noob question - I am just trying to tweak
Forgive my ignorance in asking this basic question but I've become so used to
I'm really sorry. This must seem like an incredibly stupid question, but unless I
I know this is a basic question, but I can't seem to find an
This is almost certainly a stupid question, but I want to be safe and
This is probably a stupid question but will ask anyway sine I have no
This is probably a stupid question but, I cant for the love of god
This may be a stupid question but however I searched in google with jquery
I am new in programming and this question may really be stupid but 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.