【发布时间】:2018-08-18 00:02:54
【问题描述】:
我在将我的 rails 应用程序推送到 heroku 时遇到了一些麻烦。
我有错误
无法通过 Bundler 安装 gem。 偏僻的: !检测到 Heroku 不支持的 sqlite3 gem: 偏僻的: ! https://devcenter.heroku.com/articles/sqlite3
所以我确实按照链接上的说明进行操作,但是,我仍然遇到同样的错误。我试图看看其他类似的主题,但仍然没有工作..
有什么想法吗?
更新 这是我的 gemfile 的样子:
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
# Adds support for Capybara system testing and selenium driver
gem 'capybara', '~> 2.13'
gem 'selenium-webdriver'
gem 'web-console', '>= 3.3.0'
gem 'listen', '>= 3.0.5', '< 3.2'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'
gem 'sqlite3'
end
group :production do
gem 'pg'
end
【问题讨论】:
标签: ruby-on-rails ruby postgresql heroku sqlite