Ruby heroku接收应用程序错误。没有web进程

Ruby heroku接收应用程序错误。没有web进程,ruby,git,heroku,Ruby,Git,Heroku,我的heroku服务器出现此问题 at=错误代码=H14 desc=没有正在运行的web进程 我试图逃跑 heroku ps:scale web=1 但是收到这个错误 正在扩展web进程。。。失败 ! 没有像web这样的类型 heroku ps:重新启动web.1-应用程序仪表盘AUDI88 正在重新启动web.1进程。。。完成 这是heroku日志 确保Procfile没有任何扩展名!例如,如果您使用Procfile.txt,它将返回缩放web进程。。。失败!没有像web这样的类型

我的heroku服务器出现此问题 at=错误代码=H14 desc=没有正在运行的web进程 我试图逃跑 heroku ps:scale web=1 但是收到这个错误 正在扩展web进程。。。失败 ! 没有像web这样的类型

heroku ps:重新启动web.1-应用程序仪表盘AUDI88 正在重新启动web.1进程。。。完成 这是heroku日志
确保Procfile没有任何扩展名!例如,如果您使用Procfile.txt,它将返回缩放web进程。。。失败!没有像web这样的类型。删除Procfile的扩展名,它就会工作

查看,您应该运行:heroku ps:scale web=1,这为我修复了错误

您的程序文件中是否定义了web?Heroku使用foreman来管理流程类型。因此,我添加了一个procfile,现在可以运行Heroku ps:scale web=1,但现在收到了这个错误Heroku ps==web:bundle exec rails服务器-p$PORT web。1:Crash 2012/12/08 11:07:50~3m Ago这就是我的配置文件的样子web:bundle exec rails服务器-p$PORTworker:bundle exec sidekiq-C config/sidekiq.yml日志中有什么?heroku logs-t-app app_NAME?heroku logs-t-app dashboardaudi88 2012-12-08T20:23:22+00:00 app[web.1]:[-dev]使用指向Rails签出的Gemfile安装应用程序2012-12-08T20:23:22+00:00 app[web.1]:-m,[-template=template]应用程序模板的路径可以是文件系统路径或URL 2012-12-08T20:23:22+00:00应用程序[web.1]:[-edge]使用指向Rails存储库的Gemfile设置应用程序,然后再运行50多行
heroku logs
2012-12-08T21:14:46+00:00 app[web.1]:   -d, [--database=DATABASE]      # Preconfigure for selected database (options:                     mysql/oracle/postgresql/sqlite3/frontbase/ibm_db/sqlserver/jdbcmysql/jdbcsqlite3/jdbcpostgresql/jdbc)
2012-12-08T21:14:46+00:00 app[web.1]:       [--dev]                    # Setup the application with Gemfile pointing to your Rails checkout
2012-12-08T21:14:46+00:00 app[web.1]:   rails new APP_PATH [options]
2012-12-08T21:14:46+00:00 app[web.1]:                                  # Default: /usr/local/bin/ruby
2012-12-08T21:14:46+00:00 app[web.1]:   -m, [--template=TEMPLATE]      # Path to an application template (can be a filesystem path or URL)
2012-12-08T21:14:46+00:00 app[web.1]:   -f, [--force]    # Overwrite files that already exist
2012-12-08T21:14:46+00:00 app[web.1]:   -v, [--version]  # Show Rails version number and quit
2012-12-08T21:14:46+00:00 app[web.1]:   -j, [--javascript=JAVASCRIPT]  # Preconfigure for selected JavaScript library
2012-12-08T21:14:46+00:00 app[web.1]:       [--old-style-hash]         # Force using old style hash (:foo => 'bar') on Ruby >= 1.9
2012-12-08T21:14:46+00:00 app[web.1]: 
2012-12-08T21:14:46+00:00 app[web.1]: Description:
2012-12-08T21:14:46+00:00 app[web.1]:   -b, [--builder=BUILDER]        # Path to a application builder (can be a filesystem path or URL)
2012-12-08T21:14:46+00:00 app[web.1]:                                  # Default: sqlite3
2012-12-08T21:14:46+00:00 app[web.1]:       [--edge]                   # Setup the application with Gemfile pointing to Rails repository
2012-12-08T21:14:46+00:00 app[web.1]:   -q, [--quiet]    # Suppress status output
2012-12-08T21:14:46+00:00 app[web.1]:   -h, [--help]     # Show this help message and quit
2012-12-08T21:14:46+00:00 app[web.1]: 
2012-12-08T21:14:46+00:00 app[web.1
]: Options:
2012-12-08T21:14:46+00:00 app[web.1]:   -r, [--ruby=PATH]              # Path to the Ruby binary of your choice
2012-12-08T21:14:46+00:00 app[web.1]:       [--skip-gemfile]           # Don't create a Gemfile
2012-12-08T21:14:46+00:00 app[web.1]:       [--skip-bundle]            # Don't run bundle install
2012-12-08T21:14:46+00:00 app[web.1]:   -G, [--skip-git]               # Skip Git ignores and keeps
2012-12-08T21:14:46+00:00 app[web.1]:   -O, [--skip-active-record]     # Skip Active Record files
2012-12-08T21:14:46+00:00 app[web.1]:     'rails new' runs in the .railsrc configuration file in your home directory.
2012-12-08T21:14:46+00:00 app[web.1]:   -J, [--skip-javascript]        # Skip JavaScript files
2012-12-08T21:14:46+00:00 app[web.1]:   -p, [--pretend]  # Run but do not make any changes
2012-12-08T21:14:46+00:00 app[web.1]: 
2012-12-08T21:14:46+00:00 app[web.1]:   -s, [--skip]     # Skip files that already exist
2012-12-08T21:14:46+00:00 app[web.1]:                                  # Default: jquery
2012-12-08T21:14:46+00:00 app[web.1]:   -T, [--skip-test-unit]         # Skip Test::Unit files
2012-12-08T21:14:46+00:00 app[web.1]: 
2012-12-08T21:14:46+00:00 app[web.1]: Runtime options:
2012-12-08T21:14:46+00:00 app[web.1]: Example:
2012-12-08T21:14:46+00:00 app[web.1]: 
2012-12-08T21:14:46+00:00 app[web.1]:     rails new ~/Code/Ruby/weblog
2012-12-08T21:14:46+00:00 app[web.1]: 
2012-12-08T21:14:46+00:00 app[web.1]:     See the README in the newly created application to get going.
2012-12-08T21:14:46+00:00 app[web.1]:     This generates a skeletal Rails installation in ~/Code/Ruby/weblog.
2012-12-08T21:14:46+00:00 app[web.1]:     The 'rails new' command creates a new Rails application with a default
2012-12-08T21:14:46+00:00 app[web.1]: 
2012-12-08T21:14:46+00:00 app[web.1]: Rails options:
2012-12-08T21:14:46+00:00 app[web.1]:     directory structure and configuration at the path you specify.
2012-12-08T21:14:46+00:00 app[web.1]: 
2012-12-08T21:14:46+00:00 app[web.1]:     You can specify extra command-line arguments to be used every time
2012-12-08T21:14:46+00:00 app[web.1]:     Note that the arguments specified in the .railsrc file don't affect the
2012-12-08T21:14:46+00:00 app[web.1]:     defaults values shown above in this help message.
2012-12-08T21:14:47+00:00 heroku[web.1]: State changed from starting to crashed
2012-12-08T21:14:47+00:00 heroku[web.1]: Process exited with status 0
2012-12-08T21:23:59+00:00 heroku[web.1]: State changed from crashed to starting
2012-12-08T21:24:02+00:00 heroku[web.1]: Starting process with command `bundle exec rails server -p 37045`
2012-12-08T21:24:06+00:00 app[web.1]:   -r, [--ruby=PATH]              # Path to the Ruby binary of your choice
2012-12-08T21:24:06+00:00 app[web.1]:       [--skip-bundle]            # Don't run bundle install
2012-12-08T21:24:06+00:00 app[web.1]: 
2012-12-08T21:24:06+00:00 app[web.1]:   -m, [--template=TEMPLATE]      # Path to an application template (can be a filesystem path or URL)
2012-12-08T21:24:06+00:00 app[web.1]:                                  # Default: /usr/local/bin/ruby
2012-12-08T21:24:06+00:00 app[web.1]:   -G, [--skip-git]               # Skip Git ignores and keeps
2012-12-08T21:24:06+00:00 app[web.1]:                                  # Default: sqlite3
2012-12-08T21:24:06+00:00 app[web.1]:   -d, [--database=DATABASE]      # Preconfigure for selected database (options:         mysql/oracle/postgresql/sqlite3/frontbase/ibm_db/sqlserver/jdbcmysql/jdbcsqlite3/jdbcpostgresql/jdbc)
2012-12-08T21:24:06+00:00 app[web.1]:   -O, [--skip-active-record]     # Skip Active Record files
2012-12-08T21:24:06+00:00 app[web.1]: Options:
2012-12-08T21:24:06+00:00 app[web.1]:   -j, [--javascript=JAVASCRIPT]  # Preconfigure for selected JavaScript library
2012-12-08T21:24:06+00:00 app[web.1]:       [--edge]                   # Setup the application with Gemfile pointing to Rails repository
2012-12-08T21:24:06+00:00 app[web.1]: Usage:
2012-12-08T21:24:06+00:00 app[web.1]:   -b, [--builder=BUILDER]        # Path to a application builder (can be a filesystem path or URL)
2012-12-08T21:24:06+00:00 app[web.1]:   -S, [--skip-sprockets]         # Skip Sprockets files
2012-12-08T21:24:06+00:00 app[web.1]:       [--old-style-hash]         # Force using old style hash (:foo => 'bar') on Ruby >= 1.9
2012-12-08T21:24:06+00:00 app[web.1]:   -f, [--force]    # Overwrite files that already exist
2012-12-08T21:24:06+00:00 app[web.1]:       [--dev]                    # Setup the application with Gemfile pointing to your Rails checkout
2012-12-08T21:24:06+00:00 app[web.1]:                                  # Default: jquery
2012-12-08T21:24:06+00:00 app[web.1]:   -p, [--pretend]  # Run but do not make any changes
2012-12-08T21:24:06+00:00 app[web.1]:   -v, [--version]  # Show Rails version number and quit
2012-12-08T21:24:06+00:00 app[web.1]:   -J, [--skip-javascript]        # Skip JavaScript files
2012-12-08T21:24:06+00:00 app[web.1]:   -q, [--quiet]    # Suppress status output
2012-12-08T21:24:06+00:00 app[web.1]:   -h, [--help]     # Show this help message and quit
2012-12-08T21:24:06+00:00 app[web.1]:   -T, [--skip-test-unit]         # Skip Test::Unit files
2012-12-08T21:24:06+00:00 app[web.1]: 
2012-12-08T21:24:06+00:00 app[web.1]: 
2012-12-08T21:24:06+00:00 app[web.1]: 
2012-12-08T21:24:06+00:00 app[web.1]:   -s, [--skip]     # Skip files that already exist
2012-12-08T21:24:06+00:00 app[web.1]: Description:
2012-12-08T21:24:06+00:00 app[web.1]:   rails new APP_PATH [options]
2012-12-08T21:24:06+00:00 app[web.1]:     The 'rails new' command creates a new Rails application with a default
2012-12
-08T21:24:06+00:00 app[web.1]:     defaults values shown above in this help message.
2012-12-08T21:24:06+00:00 app[web.1]:     directory structure and configuration at the path you specify.
2012-12-08T21:24:06+00:00 app[web.1]:     You can specify extra command-line arguments to be used every time
2012-12-08T21:24:06+00:00 app[web.1]:     'rails new' runs in the .railsrc configuration file in your home directory.
2012-12-08T21:24:06+00:00 app[web.1]: 
2012-12-08T21:24:06+00:00 app[web.1]:     Note that the arguments specified in the .railsrc file don't affect the
2012-12-08T21:24:06+00:00 app[web.1]: 
2012-12-08T21:24:06+00:00 app[web.1]: 
2012-12-08T21:24:06+00:00 app[web.1]: Example:
2012-12-08T21:24:06+00:00 app[web.1]:       [--skip-gemfile]           # Don't create a Gemfile
2012-12-08T21:24:06+00:00 app[web.1]:     This generates a skeletal Rails installation in ~/Code/Ruby/weblog.
2012-12-08T21:24:06+00:00 app[web.1]: 
2012-12-08T21:24:06+00:00 app[web.1]:     See the README in the newly created application to get going.
2012-12-08T21:24:06+00:00 app[web.1]:     rails new ~/Code/Ruby/weblog
2012-12-08T21:24:06+00:00 app[web.1]: Runtime options:
2012-12-08T21:24:06+00:00 app[web.1]: Rails options:
2012-12-08T21:24:07+00:00 heroku[web.1]: State changed from starting to crashed
2012-12-08T21:24:07+00:00 heroku[web.1]: Process exited with status 0
2012-12-08T21:24:54+00:00 heroku[web.1]: State changed from crashed to starting