在我的机器上创建Rails应用程序并将项目推送到github,但无法在Heroku上部署应用程序。不兼容的问题消失了,但sqlite问题依然存在。我刚刚更新了错误和gem文件如下。请帮帮我!Bundler无法找到兼容版本的宝石“railties”
错误:
An error occurred while installing sqlite3 (1.3.6), and Bundler cannot co
ntinue.
Make sure that `gem install sqlite3 -v '1.3.6'` succeeds before bundling.
!
! Failed to install gems via Bundler.
!
! Heroku push rejected, failed to compile Ruby/rails app
To [email protected]:blazing-mountain-6037.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:blazing-mountain-6037.git'
我的宝石文件:
source 'https://rubygems.org'
gem 'rails', '3.2.6'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'sqlite3', '1.3.6'
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.4'
gem 'coffee-rails', '~> 3.2.2'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', :platforms => :ruby
gem 'uglifier', '>= 1.2.3'
end
gem 'jquery-rails', '2.0.0'
# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
# To use Jbuilder templates for JSON
# gem 'jbuilder'
# Use unicorn as the app server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger
# gem 'debugger'
enter code here
哪个版本的上打包机在开发机器上使用吗? – stephenmurdoch
PS - 值得一提的是,Heroku现在正在经历潜在的[平台问题](https://status.heroku.com/)。即使他们自己的网站已关闭。几乎所有我知道的heroku应用程序目前都处于关闭状态,包括[理查德道金斯基金会](http://richarddawkinsfoundation.org/)网站和[RailsTutorial](http://railstutorial.org/)。你做了什么?你破了它;)我以前从未在他们的网络上看到过这种级别的停机。 – stephenmurdoch