让我开始,我已经搜索并阅读了与我的问题类似的所有问题,并尝试了所有建议。以下是我正在使用的一些技术,如果有帮助的话:
在 Pragmatic studios Rails 1 课程之后,我安装了 ruby 2.5.1 和 rails 5.0.0新包检查,所有依赖项都满足包安装等...
所以现在我有一个新的 rails 应用程序设置,我尝试rails s
Puma 服务器运行该应用程序似乎没有问题,但是当我尝试加载浏览器 localhost3000 时,我收到一个错误:
Gem::LoadError
Specified 'sqlite3' for database adapter, but the gem is not loaded. Add `gem 'sqlite3'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).
Run Code Online (Sandbox Code Playgroud)
当我在运行服务器时刷新页面时出现此错误:
ActiveRecord::ConnectionNotEstablished
No connection pool with id primary found.
Run Code Online (Sandbox Code Playgroud)
我检查了 gem 文件,sqlite3 就在那里。我已经重新安装了 sqlite3。我已经完成了 …