在我的本地开发环境中运行时,My Rails 3应用程序功能齐全。但是,在我推送到Heroku之后,我得到了这个神秘的错误“我们很抱歉,但出了点问题”我做了一些研究并尝试了以下步骤而没有运气:
config.assets.compile
从false
更改为true
heroku run rake db:migrate
,成功执行了。 rake assets:precompile
在本地预编译。heroku ps
时,它会显示dyno已启动[web.1: up 2013/08/27 10:52:23 (~ 2m ago)]
我在下面包含了我的日志和gem文件以及运行heroku logs --tail的部分结果。我感谢任何建议或其他帮助。感谢
尾巴日志
Started GET "/" for 98.204.192.25 at 2013-08-27 19:54:28 +0000
Processing by StoreController#index as HTML
Completed 500 Internal Server Error in 18ms
36m2013-08-27T19:54:28.623752+00:00 app[web.1]:←[0m
ActionView::MissingTemplate (Missing template store/index, application/index with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder]}. Searched in: * "/app/app/views"* "/app/vendor/bundle/ruby/1.9.1/gems/devise-3.0.3/app/views"
# Gemfile
source 'https://rubygems.org'
ruby '1.9.3'
gem 'rails', '3.2.13'
gem 'bootstrap-sass', '2.3.2.0'
gem 'bcrypt-ruby', '3.0.1'
gem 'faker', '1.0.1' #used to make sample users with names and email
gem 'will_paginate', '3.0.3' #paginate functionality
gem "jquery-rails", "2.3.0"
gem 'devise'
gem 'turbolinks'
gem 'thin'
# 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'
gem 'therubyracer', :platforms => :ruby
gem 'uglifier', '>= 1.0.3'
end
# Development only gems
group :development do
gem 'annotate', '2.5.0'
end
# Dev and Test Gems
group :development, :test do
gem 'sqlite3'
gem 'rspec-rails', '2.11.0'
end
# Heroku Gems
group :production do
gem 'pg', '0.15.1'
gem 'rails_12factor', '0.0.2'
end
Heroku记录
$ heroku ps
=== web (1X): `bundle exec thin start -R config.ru -e $RAILS_ENV -p $PORT`
web.1: up 2013/08/27 10:52:23 (~ 2m ago)
$ heroku logs
←[36m2013-08-27T14:53:48.089286+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
←[36m2013-08-27T14:53:48.089286+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/streaming.rb:225:in `_render_template'
←[36m2013-08-27T14:53:48.089463+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
←[36m2013-08-27T14:53:48.089286+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/rendering.rb:16:in `render'
←[36m2013-08-27T14:53:48.089286+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
←[36m2013-08-27T14:53:48.089463+00:00 app[web.1]:←[0m vendor/ruby-1.9.3/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
←[36m2013-08-27T14:53:48.089463+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/benchmark.rb:5:in `ms'
←[36m2013-08-27T14:53:48.089463+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:39:in `render'
←[36m2013-08-27T14:53:48.089463+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
←[36m2013-08-27T14:53:48.089463+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
←[36m2013-08-27T14:53:48.089463+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
←[36m2013-08-27T14:53:48.089463+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
←[36m2013-08-27T14:53:48.090025+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:436:in `_run__4156855088543667456__process_action__706269566432664392__callbacks'
←[36m2013-08-27T14:53:48.090025+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/rendering.rb:10:in `process_action'
←[36m2013-08-27T14:53:48.089463+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
←[36m2013-08-27T14:53:48.089463+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:167:in `process_action'
←[36m2013-08-27T14:53:48.090025+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks'
←[36m2013-08-27T14:53:48.090025+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
←[36m2013-08-27T14:53:48.090025+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback'
←[36m2013-08-27T14:53:48.090025+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/abstract_controller/callbacks.rb:17:in `process_action'
←[36m2013-08-27T14:53:48.090025+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
←[36m2013-08-27T14:53:48.090025+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/rescue.rb:29:in `process_action'
←[36m2013-08-27T14:53:48.090025+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
←[36m2013-08-27T14:53:48.090197+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
←[36m2013-08-27T14:53:48.090197+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `instrument'
←[36m2013-08-27T14:53:48.090025+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `block in instrument'
←[36m2013-08-27T14:53:48.090197+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
←[36m2013-08-27T14:53:48.090197+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
←[36m2013-08-27T14:53:48.090197+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
←[36m2013-08-27T14:53:48.090197+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:45:in `process'
←[36m2013-08-27T14:53:48.090197+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:121:in `process'
←[36m2013-08-27T14:53:48.090197+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
←[36m2013-08-27T14:53:48.090197+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal.rb:203:in `dispatch'
←[36m2013-08-27T14:53:48.090197+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal.rb:246:in `block in action'
←[36m2013-08-27T14:53:48.090589+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:73:in `call'
←[36m2013-08-27T14:53:48.090589+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
←[36m2013-08-27T14:53:48.090589+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:36:in `call'
←[36m2013-08-27T14:53:48.090589+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
←[36m2013-08-27T14:53:48.090589+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
←[36m2013-08-27T14:53:48.090589+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
←[36m2013-08-27T14:53:48.090589+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:612:in `call'
←[36m2013-08-27T14:53:48.090589+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
←[36m2013-08-27T14:53:48.090589+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
←[36m2013-08-27T14:53:48.090589+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
←[36m2013-08-27T14:53:48.090775+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
←[36m2013-08-27T14:53:48.090775+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
←[36m2013-08-27T14:53:48.090775+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
←[36m2013-08-27T14:53:48.090775+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/head.rb:14:in `call'
←[36m2013-08-27T14:53:48.090775+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
←[36m2013-08-27T14:53:48.090775+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/flash.rb:242:in `call'
←[36m2013-08-27T14:53:48.090775+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
←[36m2013-08-27T14:53:48.090775+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
←[36m2013-08-27T14:53:48.090775+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/cookies.rb:341:in `call'
←[36m2013-08-27T14:53:48.090775+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/query_cache.rb:64:in `call'
←[36m2013-08-27T14:53:48.091150+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
←[36m2013-08-27T14:53:48.091150+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
←[36m2013-08-27T14:53:48.091150+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `_run__4096359245755012766__call__2028039068216007955__callbacks'
←[36m2013-08-27T14:53:48.091150+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback'
←[36m2013-08-27T14:53:48.091150+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
←[36m2013-08-27T14:53:48.091150+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks'
←[36m2013-08-27T14:53:48.091150+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
←[36m2013-08-27T14:53:48.091150+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
←[36m2013-08-27T14:53:48.091150+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
←[36m2013-08-27T14:53:48.091150+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
←[36m2013-08-27T14:53:48.091319+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/rack/logger.rb:32:in `call_app'
←[36m2013-08-27T14:53:48.091319+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/rack/logger.rb:16:in `block in call'
←[36m2013-08-27T14:53:48.091319+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/tagged_logging.rb:22:in `tagged'
←[36m2013-08-27T14:53:48.091319+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/rack/logger.rb:16:in `call'
←[36m2013-08-27T14:53:48.091319+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/request_id.rb:22:in `call'
←[36m2013-08-27T14:53:48.091319+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
←[36m2013-08-27T14:53:48.091319+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
←[36m2013-08-27T14:53:48.091319+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
←[36m2013-08-27T14:53:48.091319+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
←[36m2013-08-27T14:53:48.091319+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/static.rb:63:in `call'←[36m2013-08-27T14:53:48.091655+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
←[36m2013-08-27T14:53:48.091655+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
←[36m2013-08-27T14:53:48.091655+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
←[36m2013-08-27T14:53:48.091655+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
←[36m2013-08-27T14:53:48.091655+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:479:in `call'
←[36m2013-08-27T14:53:48.091655+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:79:in `catch'
←[36m2013-08-27T14:53:48.091655+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
←[36m2013-08-27T14:53:48.091655+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/application.rb:223:in `call'
←[36m2013-08-27T14:53:48.091817+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:39:in `receive_data'
←[36m2013-08-27T14:53:48.091655+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in `method_missing'
←[36m2013-08-27T14:53:48.091817+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:79:in `pre_process'
←[36m2013-08-27T14:53:48.091817+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:54:in `process'
←[36m2013-08-27T14:53:48.091655+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/connectioncontext.rb:51:in `call'.rb:63:in `call'
←[36m2013-08-27T14:53:48.091655+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
←[36m2013-08-27T14:53:48.091655+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
←[36m2013-08-27T14:53:48.091655+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
←[36m2013-08-27T14:53:48.091655+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
←[36m2013-08-27T14:53:48.091655+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:479:in `call'
←[36m2013-08-27T14:53:48.091655+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:79:in `catch'
←[36m2013-08-27T14:53:48.091655+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
←[36m2013-08-27T14:53:48.091655+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/application.rb:223:in `call'
←[36m2013-08-27T14:53:48.091817+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:39:in `receive_data'
←[36m2013-08-27T14:53:48.091655+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in `method_missing'
←[36m2013-08-27T14:53:48.091817+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:79:in `pre_process'
←[36m2013-08-27T14:53:48.091817+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:54:in `process'
←[36m2013-08-27T14:53:48.091655+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:81:in `block in pre_process'
←[36m2013-08-27T14:53:48.091817+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:86:in `start'
←[36m2013-08-27T14:53:48.091817+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run_machine'
←[36m2013-08-27T14:53:48.091817+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run'
←[36m2013-08-27T14:53:48.091817+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/backends/base.rb:63:in `start'
←[36m2013-08-27T14:53:48.092315+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/bin/thin:6:in `<top (required)>'
←[36m2013-08-27T14:53:48.091817+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/server.rb:159:in `start'
←[36m2013-08-27T14:53:48.091817+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command'
←[36m2013-08-27T14:53:48.091817+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!'
←[36m2013-08-27T14:53:48.092315+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/bin/thin:23:in `load'
←[36m2013-08-27T14:53:48.092315+00:00 app[web.1]:←[0m vendor/bundle/ruby/1.9.1/bin/thin:23:in `<main>'
←[36m2013-08-27T14:53:48.092315+00:00 app[web.1]:←[0m
←[36m2013-08-27T14:53:48.092315+00:00 app[web.1]:←[0m
←[33m2013-08-27T14:53:48.089155+00:00 heroku[router]:←[0m at=info method=GET path=/ host=fast-island-8704.herokuapp.com fwd="98.204.192.25" dyno=web.1 connect=1ms service=22ms status=500 bytes=643
←[33m2013-08-27T14:52:41.003446+00:00 heroku[router]:←[0m at=info method=GET path=/ host=fast-island-8704.herokuapp.com fwd="98.204.192.25" dyno=web.1 connect=1ms service=278ms status=500 bytes=643
答案 0 :(得分:1)
我已修复日志格式,但看不到导致错误的部分。看起来您的应用程序正常启动,但是当您访问该网页时会出现错误。尝试运行heroku logs --tail
,然后在请求页面时观察输出。在日志中的请求顶部,您应该看到应用程序中存在问题的部分。它应该以{{1}}而不是app/...
开头。一旦你有了,你(或我)可以进一步诊断问题。