Loading ...
Sorry, an error occurred while loading the content.

[ASK] error deploy rails di heroku

Expand Messages
  • zia_ulhaq214
    hi rubyist indonesia sekalian mau tanya, saya baru belajar ruby nih, saya mengalami kendala ketika coba deploy aplikasi ke heroku, dengan pesan error di heroku
    Message 1 of 9 , Nov 6, 2013
    View Source
    • 0 Attachment
      hi rubyist indonesia sekalian mau tanya, saya baru belajar ruby nih, saya mengalami kendala ketika coba deploy aplikasi ke heroku, dengan pesan error di heroku logs-nya kaya gini


      2013-11-07T03:19:20.753181+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):

      ketika saya akses url web applikasi yang di heroku muncul pesan error :

      The page you were looking for doesn't exist.

      You may have mistyped the address or the page may have moved.

      ini gemfile applikasi saya :
      source 'https://rubygems.org'
      ruby '2.0.0'
      #ruby-gemset=railstutorial_rails_4_0

      gem 'rails', '4.0.1'

      group :development do
        gem 'sqlite3', '1.3.8'
      end

      gem 'sass-rails', '4.0.1'
      gem 'uglifier', '2.1.1'
      gem 'coffee-rails', '4.0.1'
      gem 'jquery-rails', '3.0.4'
      gem 'turbolinks', '1.1.1'
      gem 'jbuilder', '1.0.2'

      group :doc do
        gem 'sdoc', '0.3.20', require: false
      end

      group :production do
        gem 'pg', '0.15.1'
        gem 'rails_12factor', '0.0.2'
      end

      gem 'execjs'
      gem 'therubyracer'

      help me :( ..  
    • Denny Santoso
      coba rake routes, and copy paste disini. Yang salah di routing error, bukan di gemfile nya Regards, @DennySantoso LinkedIn:
      Message 2 of 9 , Nov 6, 2013
      View Source
      • 0 Attachment
        coba rake routes, and copy paste disini. Yang salah di routing error, bukan di gemfile nya

        On Nov 7, 2013, at 11:10 AM, <zia_ulhaq214@...> <zia_ulhaq214@...> wrote:

        hi rubyist indonesia sekalian mau tanya, saya baru belajar ruby nih, saya mengalami kendala ketika coba deploy aplikasi ke heroku, dengan pesan error di heroku logs-nya kaya gini



        2013-11-07T03:19:20.753181+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):

        ketika saya akses url web applikasi yang di heroku muncul pesan error :

        The page you were looking for doesn't exist.

        You may have mistyped the address or the page may have moved.

        ini gemfile applikasi saya :
        ruby '2.0.0'
        #ruby-gemset=railstutorial_rails_4_0

        gem 'rails', '4.0.1'

        group :development do
          gem 'sqlite3', '1.3.8'
        end

        gem 'sass-rails', '4.0.1'
        gem 'uglifier', '2.1.1'
        gem 'coffee-rails', '4.0.1'
        gem 'jquery-rails', '3.0.4'
        gem 'turbolinks', '1.1.1'
        gem 'jbuilder', '1.0.2'

        group :doc do
          gem 'sdoc', '0.3.20', require: false
        end

        group :production do
          gem 'pg', '0.15.1'
          gem 'rails_12factor', '0.0.2'
        end

        gem 'execjs'
        gem 'therubyracer'

        help me :( ..  


      • Denny Santoso
        coba rake routes, and copy paste disini. Yang salah di routing error, bukan di gemfile nya Regards, @DennySantoso LinkedIn:
        Message 3 of 9 , Nov 6, 2013
        View Source
        • 0 Attachment

          coba rake routes, and copy paste disini. Yang salah di routing error, bukan di gemfile nya
          Regards,
          @DennySantoso

          LinkedIn: http://id.linkedin.com/in/dennysantoso
          www.DennySantoso.com

          On Nov 7, 2013 11:11 AM, <zia_ulhaq214@...> wrote:
           

          hi rubyist indonesia sekalian mau tanya, saya baru belajar ruby nih, saya mengalami kendala ketika coba deploy aplikasi ke heroku, dengan pesan error di heroku logs-nya kaya gini


          2013-11-07T03:19:20.753181+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):

          ketika saya akses url web applikasi yang di heroku muncul pesan error :

          The page you were looking for doesn't exist.

          You may have mistyped the address or the page may have moved.

          ini gemfile applikasi saya :
          ruby '2.0.0'
          #ruby-gemset=railstutorial_rails_4_0

          gem 'rails', '4.0.1'

          group :development do
            gem 'sqlite3', '1.3.8'
          end

          gem 'sass-rails', '4.0.1'
          gem 'uglifier', '2.1.1'
          gem 'coffee-rails', '4.0.1'
          gem 'jquery-rails', '3.0.4'
          gem 'turbolinks', '1.1.1'
          gem 'jbuilder', '1.0.2'

          group :doc do
            gem 'sdoc', '0.3.20', require: false
          end

          group :production do
            gem 'pg', '0.15.1'
            gem 'rails_12factor', '0.0.2'
          end

          gem 'execjs'
          gem 'therubyracer'

          help me :( ..  
        • zia_ulhaq214
          rake routnya seperti ini : Prefix Verb URI Pattern Controller#Action microposts GET /microposts(.:format) microposts#index
          Message 4 of 9 , Nov 6, 2013
          View Source
          • 0 Attachment

            rake routnya seperti ini :

            Prefix Verb   URI Pattern                    Controller#Action

                microposts GET    /microposts(.:format)          microposts#index

                           POST   /microposts(.:format)          microposts#create

             new_micropost GET    /microposts/new(.:format)      microposts#new

            edit_micropost GET    /microposts/:id/edit(.:format) microposts#edit

                 micropost GET    /microposts/:id(.:format)      microposts#show

                           PATCH  /microposts/:id(.:format)      microposts#update

                           PUT    /microposts/:id(.:format)      microposts#update

                           DELETE /microposts/:id(.:format)      microposts#destroy

                     users GET    /users(.:format)               users#index

                           POST   /users(.:format)               users#create

                  new_user GET    /users/new(.:format)           users#new

                 edit_user GET    /users/:id/edit(.:format)      users#edit

                      user GET    /users/:id(.:format)           users#show

                           PATCH  /users/:id(.:format)           users#update

                           PUT    /users/:id(.:format)           users#update

                           DELETE /users/:id(.:format)           users#destroy




            ---In id-ruby@yahoogroups.com, <dennysantoso.com@...> wrote:

            coba rake routes, and copy paste disini. Yang salah di routing error, bukan di gemfile nya
            Regards,
            @DennySantoso

            LinkedIn: http://id.linkedin.com/in/dennysantoso
            www.DennySantoso.com

            On Nov 7, 2013 11:11 AM, <zia_ulhaq214@...> wrote:
             

            hi rubyist indonesia sekalian mau tanya, saya baru belajar ruby nih, saya mengalami kendala ketika coba deploy aplikasi ke heroku, dengan pesan error di heroku logs-nya kaya gini


            2013-11-07T03:19:20.753181+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):

            ketika saya akses url web applikasi yang di heroku muncul pesan error :

            The page you were looking for doesn't exist.

            You may have mistyped the address or the page may have moved.

            ini gemfile applikasi saya :
            ruby '2.0.0'
            #ruby-gemset=railstutorial_rails_4_0

            gem 'rails', '4.0.1'

            group :development do
              gem 'sqlite3', '1.3.8'
            end

            gem 'sass-rails', '4.0.1'
            gem 'uglifier', '2.1.1'
            gem 'coffee-rails', '4.0.1'
            gem 'jquery-rails', '3.0.4'
            gem 'turbolinks', '1.1.1'
            gem 'jbuilder', '1.0.2'

            group :doc do
              gem 'sdoc', '0.3.20', require: false
            end

            group :production do
              gem 'pg', '0.15.1'
              gem 'rails_12factor', '0.0.2'
            end

            gem 'execjs'
            gem 'therubyracer'

            help me :( ..  
          • Denny Santoso
            Nah halaman root nya, mau dikemanain ini? Harusnya root buka halaman apa? Di localhost udah jalan atau blm?
            Message 5 of 9 , Nov 6, 2013
            View Source
            • 0 Attachment

              Nah halaman root nya, mau dikemanain ini? Harusnya root buka halaman apa?

              Di localhost udah jalan atau blm?

              On Nov 7, 2013 11:31 AM, <zia_ulhaq214@...> wrote:
               

              rake routnya seperti ini :

              Prefix Verb   URI Pattern                    Controller#Action

                  microposts GET    /microposts(.:format)          microposts#index

                             POST   /microposts(.:format)          microposts#create

               new_micropost GET    /microposts/new(.:format)      microposts#new

              edit_micropost GET    /microposts/:id/edit(.:format) microposts#edit

                   micropost GET    /microposts/:id(.:format)      microposts#show

                             PATCH  /microposts/:id(.:format)      microposts#update

                             PUT    /microposts/:id(.:format)      microposts#update

                             DELETE /microposts/:id(.:format)      microposts#destroy

                       users GET    /users(.:format)               users#index

                             POST   /users(.:format)               users#create

                    new_user GET    /users/new(.:format)           users#new

                   edit_user GET    /users/:id/edit(.:format)      users#edit

                        user GET    /users/:id(.:format)           users#show

                             PATCH  /users/:id(.:format)           users#update

                             PUT    /users/:id(.:format)           users#update

                             DELETE /users/:id(.:format)           users#destroy




              ---In id-ruby@yahoogroups.com, <dennysantoso.com@...> wrote:

              coba rake routes, and copy paste disini. Yang salah di routing error, bukan di gemfile nya
              Regards,
              @DennySantoso

              LinkedIn: http://id.linkedin.com/in/dennysantoso
              www.DennySantoso.com

              On Nov 7, 2013 11:11 AM, <zia_ulhaq214@...> wrote:
               

              hi rubyist indonesia sekalian mau tanya, saya baru belajar ruby nih, saya mengalami kendala ketika coba deploy aplikasi ke heroku, dengan pesan error di heroku logs-nya kaya gini


              2013-11-07T03:19:20.753181+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):

              ketika saya akses url web applikasi yang di heroku muncul pesan error :

              The page you were looking for doesn't exist.

              You may have mistyped the address or the page may have moved.

              ini gemfile applikasi saya :
              ruby '2.0.0'
              #ruby-gemset=railstutorial_rails_4_0

              gem 'rails', '4.0.1'

              group :development do
                gem 'sqlite3', '1.3.8'
              end

              gem 'sass-rails', '4.0.1'
              gem 'uglifier', '2.1.1'
              gem 'coffee-rails', '4.0.1'
              gem 'jquery-rails', '3.0.4'
              gem 'turbolinks', '1.1.1'
              gem 'jbuilder', '1.0.2'

              group :doc do
                gem 'sdoc', '0.3.20', require: false
              end

              group :production do
                gem 'pg', '0.15.1'
                gem 'rails_12factor', '0.0.2'
              end

              gem 'execjs'
              gem 'therubyracer'

              help me :( ..  
            • Adi Nugroho
              Jika yang dimaksud adalah membuka halaman default rails 4 di heroku, pada saat pertama kali deploy, error yang anda lihat wajar.
              Message 6 of 9 , Nov 6, 2013
              View Source
              • 0 Attachment
                Jika yang dimaksud adalah membuka halaman default rails 4 di heroku, pada saat pertama kali deploy, error yang anda lihat wajar.


                Ada paragraf :

                Rails 4 no longer has a static index page in production. When you’re using a new app, there will not be a root page in production, so we need to create one. We will first create a controller called welcome for our home page to live


                On Nov 7, 2013, at 11:10 AM, <zia_ulhaq214@...> wrote:

                 

                hi rubyist indonesia sekalian mau tanya, saya baru belajar ruby nih, saya mengalami kendala ketika coba deploy aplikasi ke heroku, dengan pesan error di heroku logs-nya kaya gini



                2013-11-07T03:19:20.753181+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):

                ketika saya akses url web applikasi yang di heroku muncul pesan error :

                The page you were looking for doesn't exist.

                You may have mistyped the address or the page may have moved.

                ini gemfile applikasi saya :
                ruby '2.0.0'
                #ruby-gemset=railstutorial_rails_4_0

                gem 'rails', '4.0.1'

                group :development do
                  gem 'sqlite3', '1.3.8'
                end

                gem 'sass-rails', '4.0.1'
                gem 'uglifier', '2.1.1'
                gem 'coffee-rails', '4.0.1'
                gem 'jquery-rails', '3.0.4'
                gem 'turbolinks', '1.1.1'
                gem 'jbuilder', '1.0.2'

                group :doc do
                  gem 'sdoc', '0.3.20', require: false
                end

                group :production do
                  gem 'pg', '0.15.1'
                  gem 'rails_12factor', '0.0.2'
                end

                gem 'execjs'
                gem 'therubyracer'

                help me :( ..  


              • Denny Santoso
                Btw ini lg ngikutin michael hartl tutorial ya?:)
                Message 7 of 9 , Nov 6, 2013
                View Source
                • 0 Attachment

                  Btw ini lg ngikutin michael hartl tutorial ya?:)

                  On Nov 7, 2013 11:31 AM, <zia_ulhaq214@...> wrote:
                   

                  rake routnya seperti ini :

                  Prefix Verb   URI Pattern                    Controller#Action

                      microposts GET    /microposts(.:format)          microposts#index

                                 POST   /microposts(.:format)          microposts#create

                   new_micropost GET    /microposts/new(.:format)      microposts#new

                  edit_micropost GET    /microposts/:id/edit(.:format) microposts#edit

                       micropost GET    /microposts/:id(.:format)      microposts#show

                                 PATCH  /microposts/:id(.:format)      microposts#update

                                 PUT    /microposts/:id(.:format)      microposts#update

                                 DELETE /microposts/:id(.:format)      microposts#destroy

                           users GET    /users(.:format)               users#index

                                 POST   /users(.:format)               users#create

                        new_user GET    /users/new(.:format)           users#new

                       edit_user GET    /users/:id/edit(.:format)      users#edit

                            user GET    /users/:id(.:format)           users#show

                                 PATCH  /users/:id(.:format)           users#update

                                 PUT    /users/:id(.:format)           users#update

                                 DELETE /users/:id(.:format)           users#destroy




                  ---In id-ruby@yahoogroups.com, <dennysantoso.com@...> wrote:

                  coba rake routes, and copy paste disini. Yang salah di routing error, bukan di gemfile nya
                  Regards,
                  @DennySantoso

                  LinkedIn: http://id.linkedin.com/in/dennysantoso
                  www.DennySantoso.com

                  On Nov 7, 2013 11:11 AM, <zia_ulhaq214@...> wrote:
                   

                  hi rubyist indonesia sekalian mau tanya, saya baru belajar ruby nih, saya mengalami kendala ketika coba deploy aplikasi ke heroku, dengan pesan error di heroku logs-nya kaya gini


                  2013-11-07T03:19:20.753181+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):

                  ketika saya akses url web applikasi yang di heroku muncul pesan error :

                  The page you were looking for doesn't exist.

                  You may have mistyped the address or the page may have moved.

                  ini gemfile applikasi saya :
                  ruby '2.0.0'
                  #ruby-gemset=railstutorial_rails_4_0

                  gem 'rails', '4.0.1'

                  group :development do
                    gem 'sqlite3', '1.3.8'
                  end

                  gem 'sass-rails', '4.0.1'
                  gem 'uglifier', '2.1.1'
                  gem 'coffee-rails', '4.0.1'
                  gem 'jquery-rails', '3.0.4'
                  gem 'turbolinks', '1.1.1'
                  gem 'jbuilder', '1.0.2'

                  group :doc do
                    gem 'sdoc', '0.3.20', require: false
                  end

                  group :production do
                    gem 'pg', '0.15.1'
                    gem 'rails_12factor', '0.0.2'
                  end

                  gem 'execjs'
                  gem 'therubyracer'

                  help me :( ..  
                • zia_ulhaq214
                  problem solved, thank s.. ternyata root routenya :) ... Btw ini lg ngikutin michael hartl tutorial ya?:) On Nov 7, 2013 11:31 AM,
                  Message 8 of 9 , Nov 7, 2013
                  View Source
                  • 0 Attachment

                     problem solved, thank's.. ternyata root routenya :)



                    ---In id-ruby@yahoogroups.com, <dennysantoso.com@...> wrote:

                    Btw ini lg ngikutin michael hartl tutorial ya?:)

                    On Nov 7, 2013 11:31 AM, <zia_ulhaq214@...> wrote:
                     

                    rake routnya seperti ini :

                    Prefix Verb   URI Pattern                    Controller#Action

                        microposts GET    /microposts(.:format)          microposts#index

                                   POST   /microposts(.:format)          microposts#create

                     new_micropost GET    /microposts/new(.:format)      microposts#new

                    edit_micropost GET    /microposts/:id/edit(.:format) microposts#edit

                         micropost GET    /microposts/:id(.:format)      microposts#show

                                   PATCH  /microposts/:id(.:format)      microposts#update

                                   PUT    /microposts/:id(.:format)      microposts#update

                                   DELETE /microposts/:id(.:format)      microposts#destroy

                             users GET    /users(.:format)               users#index

                                   POST   /users(.:format)               users#create

                          new_user GET    /users/new(.:format)           users#new

                         edit_user GET    /users/:id/edit(.:format)      users#edit

                              user GET    /users/:id(.:format)           users#show

                                   PATCH  /users/:id(.:format)           users#update

                                   PUT    /users/:id(.:format)           users#update

                                   DELETE /users/:id(.:format)           users#destroy




                    ---In id-ruby@yahoogroups.com, <dennysantoso.com@...> wrote:

                    coba rake routes, and copy paste disini. Yang salah di routing error, bukan di gemfile nya
                    Regards,
                    @DennySantoso

                    LinkedIn: http://id.linkedin.com/in/dennysantoso
                    www.DennySantoso.com

                    On Nov 7, 2013 11:11 AM, <zia_ulhaq214@...> wrote:
                     

                    hi rubyist indonesia sekalian mau tanya, saya baru belajar ruby nih, saya mengalami kendala ketika coba deploy aplikasi ke heroku, dengan pesan error di heroku logs-nya kaya gini


                    2013-11-07T03:19:20.753181+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):

                    ketika saya akses url web applikasi yang di heroku muncul pesan error :

                    The page you were looking for doesn't exist.

                    You may have mistyped the address or the page may have moved.

                    ini gemfile applikasi saya :
                    ruby '2.0.0'
                    #ruby-gemset=railstutorial_rails_4_0

                    gem 'rails', '4.0.1'

                    group :development do
                      gem 'sqlite3', '1.3.8'
                    end

                    gem 'sass-rails', '4.0.1'
                    gem 'uglifier', '2.1.1'
                    gem 'coffee-rails', '4.0.1'
                    gem 'jquery-rails', '3.0.4'
                    gem 'turbolinks', '1.1.1'
                    gem 'jbuilder', '1.0.2'

                    group :doc do
                      gem 'sdoc', '0.3.20', require: false
                    end

                    group :production do
                      gem 'pg', '0.15.1'
                      gem 'rails_12factor', '0.0.2'
                    end

                    gem 'execjs'
                    gem 'therubyracer'

                    help me :( ..  
                  • Denny Santoso
                    yang emang problemnya di root route nya, tinggal mau diarahin kemana sih :) Regards, @DennySantoso LinkedIn: http://id.linkedin.com/in/dennysantoso
                    Message 9 of 9 , Nov 7, 2013
                    View Source
                    • 0 Attachment
                      yang emang problemnya di root route nya, tinggal mau diarahin kemana sih :)


                      On Nov 7, 2013, at 3:03 PM, <zia_ulhaq214@...> <zia_ulhaq214@...> wrote:


                       problem solved, thank's.. ternyata root routenya :)



                      ---In id-ruby@yahoogroups.com, <dennysantoso.com@...> wrote:

                      Btw ini lg ngikutin michael hartl tutorial ya?:)

                      On Nov 7, 2013 11:31 AM, <zia_ulhaq214@...> wrote:
                       

                      rake routnya seperti ini :

                      Prefix Verb   URI Pattern                    Controller#Action

                          microposts GET    /microposts(.:format)          microposts#index

                                     POST   /microposts(.:format)          microposts#create

                       new_micropost GET    /microposts/new(.:format)      microposts#new

                      edit_micropost GET    /microposts/:id/edit(.:format) microposts#edit

                           micropost GET    /microposts/:id(.:format)      microposts#show

                                     PATCH  /microposts/:id(.:format)      microposts#update

                                     PUT    /microposts/:id(.:format)      microposts#update

                                     DELETE /microposts/:id(.:format)      microposts#destroy

                               users GET    /users(.:format)               users#index

                                     POST   /users(.:format)               users#create

                            new_user GET    /users/new(.:format)           users#new

                           edit_user GET    /users/:id/edit(.:format)      users#edit

                                user GET    /users/:id(.:format)           users#show

                                     PATCH  /users/:id(.:format)           users#update

                                     PUT    /users/:id(.:format)           users#update

                                     DELETE /users/:id(.:format)           users#destroy




                      ---In id-ruby@yahoogroups.com, <dennysantoso.com@...> wrote:

                      coba rake routes, and copy paste disini. Yang salah di routing error, bukan di gemfile nya
                      Regards,
                      @DennySantoso

                      LinkedIn: http://id.linkedin.com/in/dennysantoso
                      www.DennySantoso.comOn Nov 7, 2013 11:11 AM, <zia_ulhaq214@...> wrote:
                       

                      hi rubyist indonesia sekalian mau tanya, saya baru belajar ruby nih, saya mengalami kendala ketika coba deploy aplikasi ke heroku, dengan pesan error di heroku logs-nya kaya gini


                      2013-11-07T03:19:20.753181+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):

                      ketika saya akses url web applikasi yang di heroku muncul pesan error :

                      The page you were looking for doesn't exist.

                      You may have mistyped the address or the page may have moved.

                      ini gemfile applikasi saya :
                      ruby '2.0.0'
                      #ruby-gemset=railstutorial_rails_4_0

                      gem 'rails', '4.0.1'

                      group :development do
                        gem 'sqlite3', '1.3.8'
                      end

                      gem 'sass-rails', '4.0.1'
                      gem 'uglifier', '2.1.1'
                      gem 'coffee-rails', '4.0.1'
                      gem 'jquery-rails', '3.0.4'
                      gem 'turbolinks', '1.1.1'
                      gem 'jbuilder', '1.0.2'

                      group :doc do
                        gem 'sdoc', '0.3.20', require: false
                      end

                      group :production do
                        gem 'pg', '0.15.1'
                        gem 'rails_12factor', '0.0.2'
                      end

                      gem 'execjs'
                      gem 'therubyracer'

                      help me :( ..  


                    Your message has been successfully submitted and would be delivered to recipients shortly.