为了尝试推动Heroku,我已经提到了几个不同的来源。
我得到的错误代码是:
An error occurred while installing sqlite3 (1.3.7), and Bundler cannot continue.
Make sure that `gem install sqlite3 -v '1.3.7'` succeeds before bundling.
Failed to install gems via Bundler.
Heroku push rejected, failed to compile Ruby/rails app
我已经尝试了几种Gemfile配置,但这是我目前所拥有的:
group :production, :staging do
gem "pg"
end
group :development, :test do
gem "sqlite3-ruby", "~> 1.3.0", :require => "sqlite3"
end
我也尝试了不同的捆绑包,捆绑,捆绑安装,捆绑安装 - 无需开发
我不断收到同样的错误。
请帮忙
谢谢
ps:请注意,我是新手中的很多......所以请尽可能具体。
再次感谢
答案 0 :(得分:0)
尝试(在fedora上)或等效的,然后单独安装此gem或重新启动捆绑包。
yum install sqlite-devel