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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:13:51+00:00 2026-05-25T10:13:51+00:00

Here is a problem while changing the target of the :root of my rails

  • 0

Here is a problem while changing the target of the :root of my rails 3.1 project :

I updated my config/routes.rb to point the root to a custom page.

root :to => 'pages#home'

Then, I removed the existing public/index.html.
Everything is ok in local.

I ran git commit -am "message", the result was :
delete mode 100644 public/index.html

I also committed my new routes.rb and the needed controllers and views.

I pushed to heroku : git push heroku master
And then I ran heroku rake routes the result was :

pages_home GET /pages/home(.:format)       {:controller=>"pages", :action=>"home"}
pages_formations GET /pages/formations(.:format) {:controller=>"pages", :action=>"formations"}
pages_music GET /pages/music(.:format)      {:controller=>"pages", :action=>"music"}
        root     /                           {:controller=>"pages", :action=>"home"}
        home     /home(.:format)             {:controller=>"pages", :action=>"home"}
  formations     /formations(.:format)       {:controller=>"pages", :action=>"formations"}
       music     /music(.:format)            {:controller=>"pages", :action=>"music"}

But if I go to my application page, I have an empty white screen.
If I reset the public/index.html, I have this one displayed.

So it seems like Heroku does not take my modifications into account. But the commit works : if I clone the project after deleting the file, I can see that it is deleted.

  • 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-25T10:13:51+00:00Added an answer on May 25, 2026 at 10:13 am

    White page usually means you have some sort of error in production. The best way to handle this is to check your production log on heroku with:

    heroku logs
    

    And to address an actual problem.

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

Sidebar

Related Questions

I have a problem using JSON and arrays. Here is my code: while($row =
I'm having a problem with scala generics. While the first function I defined here
So I have a tiny problem. I got help here a while ago about
Maddening problem here. When my page loads: <body onload=getClientDateTime();> It runs this function: document.getElementById('ClientDateTime').value=hello
I've ran into a really weird problem while working on a large project. I
The problem here is how to add an NSPopUpButton in Xcode 4's Interface Builder
date here my problem: String datetime = 2012-03-24 23:20:51; I know that that string
Super weird problem here. I'm having trouble getting jQuery to bind any selectors except
I have a problem here im trying to upload a file first time it
Im having a problem here. i downloaded jake wharton. He gave an example of

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.