「Rails s」でサーバーを起動後、ブラウザで「localhost:3000」にアクセスしても、
Rendered item/top.html.erb within layouts/application (50.0ms)
で止まってしまい、一向にページが表示されなくなりました。
「このサイトにアクセスできません」というエラーが出るのではなく、ページ表示待ち状態がずっと続く状況です。
これまでは問題なく開けていたのですが、思い当たる原因としましては、「rails assets:precompile」を行なっていて、処理が全然終わらなかったので、コンパイルの途中で強制的に停止させたことです。
raisサーバーの再起動、PCの再起動を行なっても状況は変わりませんでした。
復旧方法のご教示、何卒、よろしくお願い致します。
【停止中のコマンドプロンプトの表示】 (コントローラ:item, アクション:top, テーブル:record_dates)
Started GET "/" for 127.0.0.1 at 2018-03-26 21:24:13 +0900
(6.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER
BY "schema_migrations"."version" ASC
Processing by ItemController#top as HTML
Rendering item/top.html.erb within layouts/application
RecordDate Load (4.0ms) SELECT "record_dates".* FROM "record_dates"
Rendered item/top.html.erb within layouts/application (50.0ms)
[環境]
Ruby 2.3.3
Rails 5.1.5
Windows 7
【追記】
さらに数時間待つと、以下のエラーメッセージがでました。
Errno::EACCES - Permission denied @ rb_file_s_rename - (C:/Users/user1/work/tmp/cache/assets/sprockets/v3.0/_1/_1-MKQ4GpfZULvmtlswiqC32luHSzKs1V6FM3BZBd7
k.cache.88132720.5188.527106, C:/Users/user/work/tmp/cache/assets/sprock
ets/v3.0/_1/_1-MKQ4GpfZULvmtlswiqC32luHSzKs1V6FM3BZBd7k.cache):
app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_ht
ml_erb__816768536_29568300'
回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。