Open igaiga opened 5 years ago
手元で試してみたんですが、rails new
したときにsqlite3
の1.4.0
がインストールされるので、
gem "sqlite3", "~> 1.3", ">= 1.3.6"
と書き換えてbundle update
しても、1.4.0
が"~> 1.3", ">= 1.3.6"
を満たしているので、1.3.x
にdowngradeされないんじゃないかな〜と思いました。
エラーメッセージにあるように
gem "sqlite3", "~> 1.3.6"
でどうでしょう?
(゚◇゚)ガーン では、naotyさん案で! descriptionも書き換えておきました。
松田さんより < 1.4
が分かりやすかろうという案がでて、その通りだと思うのでdescription置き換えました。 @naoty さん動作確認感謝です。m( )m
@igaiga I'm very glad this repo is public 🙏
I don't speak (nor read) Japanese but I was struggling with this error since yesterday. Today I found this issue and decided to translate it, and it was totally worth it!
Very much appreciated! 🙇
現象
上記のエラーがrails s後にアクセスする際に発生する
発生する環境
解決方法
Gemfileで以下の変更を入れる。
↓
参考にしたコード(Railsの5-2-stableブランチで今後入るコードに揃えた)
https://github.com/rails/rails/commit/6d5f2511e6d9b95a8ac8399c234aa6cd074af51d