title: Heroku Rails Setup "The page you were looking for doesn't exist."
body: <p>I'm following <a href="http://ruby.railstutorial.org/ruby-on-rails-tutorial-book" rel="noreferrer">this Rails tutorial</a>. When I run rails server locally, I can see the "Welcome Aboard" page. However, when deploying to Heroku, it shows "The page you were looking for doesn't exist." I've searched around but couldn't find anything to solve my problem. Below are my steps:</p>
  
  <pre><code>rails new first_app  
  </code></pre>
  
  <p>Make this change to Gemfile:</p>
  
  <pre><code>group :production do
      gem 'pg'
  end
  
  group :development do 
      gem 'sqlite3' 
  end
  </code></pre>
  
  <p>Then,</p>
  
  <pre><code>bundle update
  bundle install
  bundle install --without production
  rake assets:precompile
  
  git init
  git add .
  git commit -m "initial commit"
  
  heroku login
  heroku create
  git push heroku master
  heroku open
  </code></pre>
  
  <p>At this point it opens the address for the heroku app and gives the "doesn't exist" error. When checking 'heroku logs' it shows the status=404 of my visit:
  <img src="https://i.stack.imgur.com/A0wN5.png" alt="heroku logs"></p>