` (pg is not part of the bundle.我在网上查找,发现添加了'pg‘宝石。我使用gem install pg添加了它,并将其放入了我的gem文件中。我已经完成了捆绑安装。当我尝试执行命令'sudo gem install activerecord-postgresql-adapter‘时,它告诉我找不到gem。此外,我将' pg‘添加到我的gemfile中,并试图在
当我试图将一个rails项目从windows本地环境部署到linux(CentOS6.5)服务器时,我从capistrano 3中得到了一个错误。Gem::LoadError: Specified 'postgresql' for database adapter, but the gem is not loaded.Add `gem 'pg'` to your Gemfile.
不过,我在Gemfile有一个Gemfile。我在