M. Hartlが書いたRuby on Railsチュートリアルを開始しました。 。私は2.1から2.1.1のあらゆるステップに従ってきました。 は、だから私は、アプリを作成し、$ HerokuのでHerokuのはheroku appを表示できません-Ruby on Railsチュートリアル-M Hartl
に私が行ったすべての変更をプッシュした と$ Gitのプッシュを作成Herokuのは
をマスターしたすべてのエラーか何かを取得できませんでした。 しかし、アドレス(https://pacific-woodland-39108.herokuapp.com)をクリックしてアプリを表示しようとすると、「探していたページが存在しません」というメッセージしか表示されませんでした。だから何かが間違っていたが、私は何を見つけることができない。私は過去3時間で同様の問題を見てきていて、数多くの "解決策"を試しましたが、何も効果がありませんでした。私もアプリケーションを削除し、チュートリアルが再び述べるすべてのステップを行った。しかし、それは役に立たなかった。
私を助けることができる誰かがいますか?
EDIT:
私はどうやら「Herokuのは、作成」コマンドであまりにプレイしましたし、今私は、いくつかのアプリを持っています。たぶん私はそれらのすべてを削除する必要があります(どのように?)とゼロから始めますか?
経路が調整される(活性化するために '#' を除去)
commands i used that were mentioned in one of the answers. Still doesn't work though :/
source 'https://rubygems.org'
source 'https://rubygems.org'
GEMFILE:
gem 'rails', '4.2.2'
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.1.0'
gem 'jquery-rails'
gem 'turbolinks'
gem 'jbuilder', '~> 2.0'
gem 'sdoc', '~> 0.4.0', group: :doc
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug'
# Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console', '~> 2.0'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
gem 'sqlite3', '1.3.9'
end
group :production do
gem 'pg', '0.17.1'
gem 'rails_12factor', '0.0.2'
end
ROUTEファイル:
Rails.application.routes.draw do
# The priority is based upon order of creation: first created -> highest priority.
# See how all your routes lay out with "rake routes".
# You can have the root of your site routed with "root"
root 'welcome#index'
デフォルトの生成アプリのほかにルート/コントローラ/ビューを追加しましたか? –
[Heroku Rails Setupの複製が存在する可能性があります。探していたページが存在しません。]](http://stackoverflow.com/questions/22026492/heroku-rails-setup-the-page-you-were-looking -for-doesnt-exist) – Pholochtairze
'heroku logs'を実行すると、500エラーが表示されますか? –