有以下问题,全新的RoR,第一次尝试上传应用程序上线,首先有托管问题,然后决定如果我可以用heroku修复它们,我将只使用heroku的自定义域名......不,这不是一个测试应用程序“学习rails”的事情,实际的应用程序,我想部署在我自己的业务中使用,任何帮助都会很好,我已经搜索过了,还没有看到这个问题的解决方案。
在捆绑之前,请确保'gem install sqlite3 -v 1.3.7‘成功。
Failed to install gems via Bundler
Heroku push rejected, failed to compile Ruby/rails app
To git@heroku.com:peaceful-chamber-6371.git
[remote rejected] master -> master <pre-receive hook declined>
error: failed to push some refs to 'git@heroku.com:peaceful-chamber-6371.git
宝石文件
source 'https://rubygems.org'
gem 'rails', '3.2.12'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
group :development, :test do
gem 'sqlite3'
end
group :production do
gem 'pg'
end
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', :platforms => :ruby
gem 'uglifier', '>= 1.0.3'
gem 'twitter-bootstrap-rails'
end
gem 'jquery-rails'
# 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'
https://stackoverflow.com/questions/15737296
复制相似问题