遇到以下問題,嘗試上傳應用程序首次嘗試上載應用程序首次出現問題,然後決定是否可以使用heroku修復它們我只是用一個自定義域與Heroku ......沒有這不是一個測試應用程序「學習鐵軌」的事情,我想部署用於我自己的業務內的實際應用程序,任何幫助將是偉大的,我已經搜索並沒有看到這個問題的解決方案。heroku push被拒絕,未能編譯Ruby/rails應用程序
確保'gem install sqlite3 -v 1.3.7'在捆綁之前成功。
Failed to install gems via Bundler
Heroku push rejected, failed to compile Ruby/rails app
To [email protected]:peaceful-chamber-6371.git
[remote rejected] master -> master <pre-receive hook declined>
error: failed to push some refs to '[email protected]: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'
你嘗試過這樣的:http://railsapps.github.com/rails-heroku-tutorial.html – corroded
試過了......現在我得到一個 檢測到Ruby/NoLockfile應用程序 Herolu推送被拒絕,未能編譯Ruby/nolockfile應用程序 –