레일즈 3.2.6과 헤로 쿠를 시작하려고합니다. 내 루비 버전은 1.9.3이고 내 database.yml을은 다음과 같이이다 :레일 응용 프로그램을 배포하는 동안 heroku에 대한 포먼 시작 오류가 발생했습니다.
내가 development.rb과 test.rb에 production.rb에있는web: bundle exec rails server thin -p $PORT -e $RACK_ENV
로
development:
adapter: postgresql
encoding: utf8
reconnect: false
database: iscubeonror_development
pool: 5
username: rails
password: rails
host: localhost
test:
adapter: postgresql
encoding: utf8
reconnect: false
database: iscubeonror_test
pool: 5
username: root
password:
host: localhost
production:
adapter: postgresql
encoding: utf8
reconnect: false
database: iscubeonror_production
pool: 5
username: root
password:
host: localhost
내 procfile입니다 이 :
config.active_support.deprecation = :notify
config.active_support.deprecation = :stderr
config.active_support.deprecation = :stderr
마침내 나는 윈도우를 사용하고 내 Gemfile은
gem 'rails', '3.2.6'
gem 'pg'
gem 'thin'
gem "foreman"
입니다
터미널 Heroku가 로그에 쓰기가 날 때 터미널 감독에 쓰기 시작되지 않은 때문에이 내 얇은 서버에
D:\Kalpesh\web\iscubeonror> foreman start
19:37:27 web.1 | started with pid 3868
19:38:18 web.1 | You did not specify how you would like Rails to report depreca
tion notices for your $RACK_ENV environment, please set config.active_support.de
precation to :log, :notify or :stderr at config/environments/$RACK_ENV.rb
나를 제공을 시작
2012-11-20T18:05:32+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-st
yle plugins in vendor/plugins! Support for these plugins will be removed in Rail
s 4.0. Move them out and bundle them in your Gemfile, or fold them in to your ap
p as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes f
or more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been
-released. (called from <top (required)> at /app/config/environment.rb:5)
2012-11-20T18:05:32+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-st
yle plugins in vendor/plugins! Support for these plugins will be removed in Rail
s 4.0. Move them out and bundle them in your Gemfile, or fold them in to your ap
p as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes f
or more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been
-released. (called from <top (required)> at /app/config/environment.rb:5)
2012-11-20T18:05:35+00:00 app[web.1]: => Ctrl-C to shutdown server
2012-11-20T18:05:35+00:00 app[web.1]: => Booting Thin
2012-11-20T18:05:35+00:00 app[web.1]: => Rails 3.2.6 application starting in pro
duction on http://0.0.0.0:52284
2012-11-20T18:05:35+00:00 app[web.1]: => Call with -d to detach
로 warnig 제공 내가해야 할 일
내가 모든 단계를 수행하지만 https://devcenter.heroku.com/articles/rails3#deploy-your-application-to-heroku plz 긴급한 대답을 내게
가능한 중복 [배포 중 오류가 포먼 시작에 Heroku가에 응용 프로그램을 레일] (http://stackoverflow.com/questions/13486307/error-during-deploy-rails-application-on-heroku-in-forman-start) – Lichtamberg
procfile을 추가하십시오 – Lichtamberg
응용 프로그램에서 procfile 추가를 사용하고 있지 않습니다. – imKalpesh