新手问题 Heroku 部署 Octopress 时的问题 #fixed

woody1983 · 2014年05月03日 · 最后由 woody1983 回复于 2014年05月04日 · 2487 次阅读
Fetching repository, done.
Counting objects: 7, done.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 499 bytes | 0 bytes/s, done.
Total 4 (delta 3), reused 0 (delta 0)

-----> Deleting 4 files matching .slugignore patterns.
-----> Ruby app detected
-----> Compiling Ruby/Rack
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using 1.5.2
       Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
       Fetching gem metadata from https://rubygems.org/..........
       Fetching additional metadata from https://rubygems.org/..
       Using rack (1.5.2)
       Using tilt (1.3.7)
       Using stringex (1.4.0)
       Using bundler (1.5.2)
       Using rack-protection (1.5.0)
       Using sinatra (1.4.2)
       Installing daemons (1.1.9)
       Installing eventmachine (1.0.3)
       Installing thin (1.6.2)
       Your bundle is complete!
       Gems in the groups development and test were not installed.
       It was installed into ./vendor/bundle
       Bundle completed (19.81s)
       Cleaning up the bundler cache.
-----> WARNINGS:
       No Procfile detected, using the default web server (webrick)
       https://devcenter.heroku.com/articles/ruby-default-web-server
-----> Discovering process types
       Procfile declares types -> (none)
       Default types for Ruby  -> console, rake, web

-----> Compressing... done, 13.2MB
-----> Launching... done, v7
       http://frozen-citadel-7241.herokuapp.com/ deployed to Heroku

To [email protected]:frozen-citadel-7241.git
   1f5d4fa..60e102f  master -> master

中间说没有No Procfile detected, using the default web server (webrick)指定 web 服务器 请教一下这个 各位遇到过吗?

https://devcenter.heroku.com/articles/procfile#deploying-to-heroku

A Procfile is not necessary to deploy apps written in most languages supported by Heroku. The platform automatically detects the language, and creates a default web process type to boot the application server.

#1 楼 @chunleapublic.gitignore移除就可以了~

需要 登录 后方可回复, 如果你还没有账号请 注册新账号