我有一个简单的Sinatra应用程序。
web.rb:
require 'sinatra'
get '/' do
"Hello"
end
Gemfile:*
source :rubygems
gem 'sinatra', '1.1.0'
gem 'thin', '1.2.7'
config.ru:
require './web'
run Sinatra::Application
但是当我在Heroku上部署我的应用程序时,在日志中会出现以下错误:
2012-03-27T19:17:48+00:00 heroku[router]: Error H14 (No web processes running) -> GET furious-waterfall-6586.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=
我该如何修复它?
heroku logs
中还有其他有用的信息吗? - Eric Wendelin