[英]An error occurred while installing sqlite3 (1.3.13), and Bundler cannot continue
I am using a mac and cloud9 IDE every time I try and "git push heroku master" I get this error 每次尝试“ 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.
but my gem files are set up as such 但我的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
Ive also ran the 我也跑了
gem install sqlite3 -v '1.3.13'
command then re-bundled then pushed to heroku master only to get the same thing 命令,然后重新捆绑,然后推到heroku主服务器,只是得到相同的东西
@KLikavec, @KLikavec,
That's because Heroku don't allow to used sqlite. 那是因为Heroku不允许使用sqlite。 He suggested our to use postgresql instead. 他建议我们改用postgresql。 Please refer to another thread with the same issue, and take a look at my answer. 请参考具有相同问题的另一个主题,并查看我的答案。 It should help you resolve the problem. 它应该可以帮助您解决问题。
Heroku: Failed to install gems via Bundler Heroku:无法通过Bundler安装gem
To do 去做
apt-get install libsqlite3-dev apt-get安装libsqlite3-dev
And Run again 并再次运行
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.