###前提・実現したいこと
rails s -b $IP -p $PORT をしても
If you are the application owner check the logs for more information.
という結果がっ出てwebページが開けません。
ご教授お願い致します。
直前に
rails g paperclip photo image
rake db:migrate
をしたので、そこら辺が原因かもしれません。
追記:development.logを下から見ていった所、直近でのエラーは
ActiveRecord::PendingMigrationError (
Migrations are pending. To resolve this issue, run:
bin/rails db:migrate RAILS_ENV=development
):
となっており、 bin/rails db:migrate RAILS_ENV=developmentとしましたが変わらずです。
関係あるかは分かりませんが現状HEROKUを使ってる所なので
:~/workspace/hello_app (master) $ rails server -b $IP -p $PORT
となっております。
###発生している問題・エラーメッセージ
If you are the application owner check the logs for more information.
という結果がっ出てwebページが開けません。
ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"という文がでます。
###該当のソースコード
RubyonRails
1ここにご自身が実行したソースコードを書いてください
###試したこと
rails destroy paperclip photo image
の後に
rails g paperclip photo image
rake db:migrate
回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/02/05 17:47
2018/02/05 23:02
2018/02/07 16:37
2018/02/08 02:20
2018/02/08 16:31
2018/02/08 20:46
2018/04/01 09:35