title: The page you were looking for doesn't exist - heroku+rails
body: <p>Good day. I am trying to deploy rails-application on heroku according to Hartl's book Ruby on Rails tutorial. I did <code>$ git push heroku master</code> and it was done correctly. But when i use <code>$ heroku open</code> there is a text </p>
  
  <blockquote>
    <p>`The page you were looking for doesn't exist.</p>
  </blockquote>
  
  <p>You may have mistyped the address or the page may have moved. When I start rails locally with <code>$ rails s</code> there are no mistakes and 127.0.0.1:3000 works nicely. But if I use <code>$ rails s -e production</code> there is a similar mistake </p>
  
  <blockquote>
    <p>The page you were looking for doesn't exist. You may have mistyped the
    address or the page may have moved.</p>
  </blockquote>
  
  <p>Btw, according to similar's issues I tried to change </p>
  
  <blockquote>
    <p>config.assets.compile = true</p>
  </blockquote>
  
  <p>My Gemfile.lock:</p>
  
  <pre><code>  remote: https://rubygems.org/
    specs:
      actionmailer (4.0.2)
        actionpack (= 4.0.2)
        mail (~&gt; 2.5.4)
      actionpack (4.0.2)
        activesupport (= 4.0.2)
        builder (~&gt; 3.1.0)
        erubis (~&gt; 2.7.0)
        rack (~&gt; 1.5.2)
        rack-test (~&gt; 0.6.2)
      activemodel (4.0.2)
        activesupport (= 4.0.2)
        builder (~&gt; 3.1.0)
      activerecord (4.0.2)
        activemodel (= 4.0.2)
        activerecord-deprecated_finders (~&gt; 1.0.2)
        activesupport (= 4.0.2)
        arel (~&gt; 4.0.0)
      activerecord-deprecated_finders (1.0.3)
      activesupport (4.0.2)
        i18n (~&gt; 0.6, &gt;= 0.6.4)
        minitest (~&gt; 4.2)
        multi_json (~&gt; 1.3)
        thread_safe (~&gt; 0.1)
        tzinfo (~&gt; 0.3.37)
      addressable (2.3.5)
      arel (4.0.1)
      atomic (1.1.14)
      builder (3.1.4)
      coffee-rails (4.0.1)
        coffee-script (&gt;= 2.2.0)
        railties (&gt;= 4.0.0, &lt; 5.0)
      coffee-script (2.2.0)
        coffee-script-source
        execjs
      coffee-script-source (1.6.3)
      erubis (2.7.0)
      excon (0.25.3)
      execjs (2.0.2)
      heroku (3.2.1)
        heroku-api (~&gt; 0.3.7)
        launchy (&gt;= 0.3.2)
        netrc (~&gt; 0.7.7)
        rest-client (~&gt; 1.6.1)
        rubyzip
      heroku-api (0.3.15)
        excon (~&gt; 0.25.1)
      hike (1.2.3)
      i18n (0.6.9)
      jbuilder (1.5.3)
        activesupport (&gt;= 3.0.0)
        multi_json (&gt;= 1.2.0)
      jquery-rails (3.0.4)
        railties (&gt;= 3.0, &lt; 5.0)
        thor (&gt;= 0.14, &lt; 2.0)
      json (1.8.1)
      launchy (2.4.2)
        addressable (~&gt; 2.3)
      mail (2.5.4)
        mime-types (~&gt; 1.16)
        treetop (~&gt; 1.4.8)
      mime-types (1.25.1)
      minitest (4.7.5)
      multi_json (1.8.2)
      netrc (0.7.7)
      pg (0.17.1-x86-mingw32)
      polyglot (0.3.3)
      rack (1.5.2)
      rack-test (0.6.2)
        rack (&gt;= 1.0)
      rails (4.0.2)
        actionmailer (= 4.0.2)
        actionpack (= 4.0.2)
        activerecord (= 4.0.2)
        activesupport (= 4.0.2)
        bundler (&gt;= 1.3.0, &lt; 2.0)
        railties (= 4.0.2)
        sprockets-rails (~&gt; 2.0.0)
      railties (4.0.2)
        actionpack (= 4.0.2)
        activesupport (= 4.0.2)
        rake (&gt;= 0.8.7)
        thor (&gt;= 0.18.1, &lt; 2.0)
      rake (10.1.1)
      rdoc (3.12.2)
        json (~&gt; 1.4)
      rest-client (1.6.7)
        mime-types (&gt;= 1.16)
      rubyzip (1.1.0)
      sass (3.2.13)
      sass-rails (4.0.1)
        railties (&gt;= 4.0.0, &lt; 5.0)
        sass (&gt;= 3.1.10)
        sprockets-rails (~&gt; 2.0.0)
      sdoc (0.3.20)
        json (&gt;= 1.1.3)
        rdoc (~&gt; 3.10)
      sprockets (2.10.1)
        hike (~&gt; 1.2)
        multi_json (~&gt; 1.0)
        rack (~&gt; 1.0)
        tilt (~&gt; 1.1, != 1.3.0)
      sprockets-rails (2.0.1)
        actionpack (&gt;= 3.0)
        activesupport (&gt;= 3.0)
        sprockets (~&gt; 2.8)
      sqlite3 (1.3.8-x64-mingw32)
      sqlite3 (1.3.8-x86-mingw32)
      sqlite3-ruby (1.3.3)
        sqlite3 (&gt;= 1.3.3)
      thor (0.18.1)
      thread_safe (0.1.3)
        atomic
      tilt (1.4.1)
      treetop (1.4.15)
        polyglot
        polyglot (&gt;= 0.3.1)
      turbolinks (2.1.0)
        coffee-rails
      tzinfo (0.3.38)
      uglifier (2.4.0)
        execjs (&gt;= 0.3.0)
        json (&gt;= 1.8.0)
  
  PLATFORMS
    x64-mingw32
    x86-mingw32
  
  DEPENDENCIES
    coffee-rails (~&gt; 4.0.0)
    heroku
    jbuilder (~&gt; 1.2)
    jquery-rails
    pg
    rails (= 4.0.2)
    sass-rails (~&gt; 4.0.0)
    sdoc
    sqlite3 (= 1.3.8)
    sqlite3-ruby
    turbolinks
    uglifier (&gt;= 1.3.0)
  </code></pre>
  
  <p>My Gemfile</p>
  
  <pre><code>source 'https://rubygems.org'
  
  # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
  gem 'rails', '4.0.2'
  
  # Use sqlite3 as the database for Active Record
  group :development, :test do 
    gem 'sqlite3-ruby', :require =&gt; 'sqlite3'
    gem 'sqlite3', '1.3.8'
  end
  
  # Use SCSS for stylesheets
  gem 'sass-rails', '~&gt; 4.0.0'
  
  gem 'heroku'
  # Use Uglifier as compressor for JavaScript assets
  gem 'uglifier', '&gt;= 1.3.0'
  
  # Use CoffeeScript for .js.coffee assets and views
  gem 'coffee-rails', '~&gt; 4.0.0'
  
  # See https://github.com/sstephenson/execjs#readme for more supported runtimes
  # gem 'therubyracer', platforms: :ruby
  
  # Use jquery as the JavaScript library
  gem 'jquery-rails'
  
  # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
  gem 'turbolinks'
  
  # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
  gem 'jbuilder', '~&gt; 1.2'
  
  group :doc do
    # bundle exec rake doc:rails generates the API under doc/api.
    gem 'sdoc', require: false
  end
  
  # Use ActiveModel has_secure_password
  # gem 'bcrypt-ruby', '~&gt; 3.1.2'
  
  # Use unicorn as the app server
  # gem 'unicorn'
  
  # Use Capistrano for deployment
  # gem 'capistrano', group: :development
  
  # Use debugger
  # gem 'debugger', group: [:development, :test]
  
  group :production do
    gem 'pg'
  end
  </code></pre>
  
  <p>routes.rb:</p>
  
  <pre><code>FirstApp::Application.routes.draw do
    many comments 
  end
  </code></pre>
  
  <p>It's just created project with <code>rails new</code>. There is the same message if I try to get another pages.</p>