0

为了尝试推动 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:请注意,我是新手。所以请尽可能具体。

再次感谢

4

1 回答 1

0

尝试(在 fedora 上)或等效的,然后单独安装此 gem 或重新启动捆绑包。

yum install sqlite-devel
于 2013-04-07T22:03:39.957 回答