本来想入坑学习下 rails server 谢谢网站,,没想到 一入深识海,各种报错都来了!!! 版本 ruby 2.6 版本 rails 5.2.2 版本
project on master [?] is 📦 ⚠ via ⬢ v11.1.0 via 💎 ruby-2.6.0
➜ rails server
=> Booting Puma
=> Rails 5.2.2 application starting in development
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 3.12.0 (ruby 2.6.0-p0), codename: Llamas in Pajamas
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://0.0.0.0:3000
Use Ctrl-C to stop
打开 http://127.0.0.1:3000/ 又来一个报错!!
Puma caught this error: Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on? can't activate sqlite3 (~> 1.3.6), already activated sqlite3-1.4.0. Make sure all dependencies are added to Gemfile. (LoadError)
查了一下
gem list
sqlite3 (1.4.0)
sqlite3-ruby (1.3.3)
求助何解啊,google 查看了很多没找到办法!!!