简体   繁体   English

安装sqlite3(1.3.13)时发生错误,并且Bundler无法继续

[英]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.

相关问题 “安装sqlite3(1.3.13)时发生错误,并且Bundler无法继续” - “An error occurred while installing sqlite3 (1.3.13), and Bundler cannot continue” Rails - 错误“安装 sqlite3 (1.3.13) 时出错,Bundler 无法继续” - Rails - error " An error occurred while installing sqlite3 (1.3.13), and Bundler cannot continue" 安装sqlite3(1.3.11)时出错,Bundler无法继续 - An error occurred while installing sqlite3 (1.3.11), and Bundler cannot continue 安装 sqlite3 (1.3.7) 时出错,Bundler 无法继续无法创建 rails 应用程序 - An error occurred while installing sqlite3 (1.3.7), and Bundler cannot continue Cannot create rails app Windows 10上的Rails错误(安装sqlite3(1.4.1)时发生错误,并且Bundler无法继续) - Rails error on windows 10 (An error occurred while installing sqlite3 (1.4.1), and Bundler cannot continue) RoR Michael Hartl Tutorial (3rd) - 安装 sqlite3 时出错,Bundler 无法继续 - RoR Michael Hartl Tutorial (3rd) - An error occurred while installing sqlite3, and Bundler cannot continue 安装bcrypt(3.1.11)时发生错误,Bundler无法继续。 - An error occurred while installing bcrypt (3.1.11), and Bundler cannot continue. 安装mysql2(0.3.21)时出错,Bundler无法继续 - An error occurred while installing mysql2 (0.3.21), and Bundler cannot continue 安装pg(1.1.4)时发生错误,并且Bundler无法继续 - An error occurred while installing pg (1.1.4), and Bundler cannot continue 安装bcrypt 3.1.7时发生错误,捆绑器无法继续 - An error occurred while installing bcrypt 3.1.7 and bundler cannot continue
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM