我在rails 3.2.7上运行。我在部署的应用上收到以下消息: 我们很抱歉,但出了点问题。
我真的不知道是什么原因导致了这个错误。
这是我的heroku日志。
2012-10-10T20:24:01+00:00 heroku[web.1]: State changed from starting to up
2012-10-10T21:28:17+00:00 heroku[web.1]: Idling
2012-10-10T21:28:20+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2012-10-10T21:28:21+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/server.rb:90:in `select'
2012-10-10T21:28:21+00:00 app[web.1]: [2012-10-10 21:28:21] ERROR SignalException: SIGTERM
2012-10-10T21:28:31+00:00 heroku[web.1]: Stopping remaining processes with SIGKILL
2012-10-10T21:28:31+00:00 heroku[web.1]: Error R12 (Exit timeout) -> At least one process failed to exit within 10 seconds of SIGTERM
2012-10-10T21:28:33+00:00 heroku[web.1]: Process exited with status 137
2012-10-10T21:28:33+00:00 heroku[web.1]: State changed from up to down
2012-10-11T17:24:11+00:00 heroku[web.1]: Unidling
2012-10-11T17:24:11+00:00 heroku[web.1]: State changed from down to starting
2012-10-11T17:24:26+00:00 heroku[web.1]: State changed from starting to up
2012-10-11T17:24:28+00:00 heroku[router]: GET mighty-earth-4316.herokuapp.com/favicon.ico dyno=web.1 queue=0 wait=0ms service=14ms status=304 bytes=0
pj@ubuntu:~/Documents/demotywatory$ rails -v
Rails 3.2.7
和gemfile
source 'https://rubygems.org'
gem 'rails', '3.2.7'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
group :development 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 'haml'
gem 'nifty-generators'
gem 'simple_form'
gem 'twitter-bootstrap-rails'
gem "bootstrap-will_paginate"
end
gem 'carrierwave'
gem 'rmagick'
gem 'jquery-rails'
gem 'thumbs_up'
gem 'devise'
# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
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'
gem "mocha", :group => :test
答案 0 :(得分:0)
尝试从资产组中取出haml。在试图找出我的数据库出了什么问题之后争吵不休,将haml从我的gemfile中的资产组中取出来为我修复了它。