[英]“An error occurred while installing sqlite3 (1.3.13), and Bundler cannot continue”
[英]An error occurred while installing sqlite3 (1.3.13), and Bundler cannot continue
每次尝试“ git push heroku master”时,我都使用mac和cloud9 IDE,但出现此错误
remote: An error occurred while installing sqlite3 (1.3.13), and
Bundler cannot
remote: continue.
remote: Make sure that `gem install sqlite3 -v '1.3.13'`
succeeds before bundling.
但我的gem文件是这样设置的
group :development, :test do
gem 'sqlite3', '1.3.12'
gem 'byebug', '9.0.0', platform: :mri
end
group :development do
gem 'web-console', '3.1.1'
gem 'listen', '3.0.8'
gem 'spring', '1.7.2'
gem 'spring-watcher-listen', '2.0.0'
end
group :production do
gem 'pg', '0.18.4'
end
我也跑了
gem install sqlite3 -v '1.3.13'
命令,然后重新捆绑,然后推到heroku主服务器,只是得到相同的东西
@KLikavec,
那是因为Heroku不允许使用sqlite。 他建议我们改用postgresql。 请参考具有相同问题的另一个主题,并查看我的答案。 它应该可以帮助您解决问题。
去做
apt-get安装libsqlite3-dev
并再次运行
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.