Кажется, все отлично работало, когда я нажал на Heroku, как показано ниже. Затем я бегу в ошибку на последнем, следуя Docs Heroku в: http://devcenter.heroku.com/articles/ruby#install_the_heroku_commandline_clientНе обнаружено приложение, поддерживающее кедр, в приложении Sinatra Heroku
-----> Heroku receiving push
-----> Removing .DS_Store files
-----> Ruby app detected
-----> Installing dependencies using Bundler version 1.1.rc.7
Running: bundle install --without development:test --path vendor/bundle --binstubs bin/ --deployment
Fetching gem metadata from http://rubygems.org/.....
Installing rack (1.4.0)
Installing tilt (1.3.3)
Installing sinatra (1.1.0)
Using bundler (1.1.rc.7)
Your bundle is complete! It was installed into ./vendor/bundle
Cleaning up the bundler cache.
-----> Discovering process types
Procfile declares types -> (none)
Default types for Ruby -> console, rake
-----> Compiled slug size is 16.3MB
-----> Launching... done, v4
http://cold-mountain-8923.herokuapp.com deployed to Heroku
С heroku.logs я получаю:
2012-01-11T06:36:43+00:00 heroku[slugc]: Slug compilation started
2012-01-11T06:36:43+00:00 heroku[slugc]: Slug compilation failed: no Cedar-supported app detected
2012-01-11T06:47:20+00:00 heroku[slugc]: Slug compilation started
2012-01-11T06:47:22+00:00 heroku[slugc]: Slug compilation failed: failed to compile Ruby app
2012-01-11T06:52:21+00:00 heroku[slugc]: Slug compilation started
Как же нет Кедр-поддержка обнаруживается, когда Gemfile и PROCFILE являются оба там? Кроме того, на веб-странице heroku ничего не появляется.
Какое содержимое вашего Procfile? –
web: play run --http.port = $ PORT $ PLAY_OPTS – Tony
Совсем недавно сменил его на: 'web: bundle exec ruby sinatra.rb -p $ PORT' – Tony