前提・実現したいこと
ruby on railsでアプリ開発を行なっていたところ急にbundle exec rails sができなくなりました。
発生している問題・エラーメッセージ
bundle exec rails s
=> Booting Puma
=> Rails 6.0.0 application starting in development
=> Run rails server --help
for more startup options
Puma starting in single mode...
- Version 3.12.1 (ruby 2.5.0-p0), codename: Llamas in Pajamas
- Min threads: 5, max threads: 5
- Environment: development
- Listening on tcp://localhost:3000
Use Ctrl-C to stop
Started GET "/stamps" for ::1 at 2019-10-18 15:36:03 +0900
(5.0ms) SELECT sqlite_version()
(2.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
Processing by StampsController#index as HTML
User Load (0.5ms) SELECT "users". FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]]
Stamp Load (0.5ms) SELECT "stamps".* FROM "stamps" WHERE "stamps"."user_id" = ? [["user_id", 5]]
↳ app/controllers/stamps_controller.rb:5:in `index'
Rendering stamps/index.html.erb within layouts/application
/Users/user_name/Desktop/myApp/vendor/bundler/ruby/2.5.0/gems/actionview-6.0.0/lib/action_view/template.rb:341: [BUG] Segmentation fault at 0x0000000000000020
ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin16]
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
for more details.
Don't forget to include the above Crash Report log file in bug reports.
-- Control frame information -----------------------------------------------
.
.
.
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
[IMPORTANT]
Don't forget to include the Crash Report log file under
DiagnosticReports directory in bug reports.
補足情報(FW/ツールのバージョンなど)
他で似たようなエラーが出てる方もいらっしゃったのですが、その方はrubyのバージョン2.6.0を使ってて起きたみたいで、私が今回使っているのはバージョン2.5.0です。
ruby -v
ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin16]
gemfileにもrubyは2.5.0と書いてあります。
railsは6.0.0です。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/10/18 14:40
2019/10/18 21:41