私はチュートリアルhereに従っています: すべての手順を完了しました。私のアプリにはconfig.ru、gemfile、そして単にgoというファイルがあります!これはちょうどheroku上で実行されているアプリをテストして、それがどのように処理されたかを確認することでした。残念ながら、私は非常に奇妙なエラーが発生しています。ヒロクのアプリ起動エラー
git push heroku master
Counting objects: 9, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 596 bytes, done.
Total 5 (delta 4), reused 0 (delta 0)
-----> Heroku receiving push
-----> Ruby/Rack app detected
-----> Installing dependencies using Bundler version 1.1.rc.7
Running: bundle install --without development:test --path vendor/bundle --binstubs bin/ --deployment
Using i18n (0.6.0)
Using multi_json (1.1.0)
Using activesupport (3.2.2)
Using builder (3.0.0)
Using activemodel (3.2.2)
Using bson (1.6.0)
Using mongo (1.6.0)
Using plucky (0.4.4)
Using mongo_mapper (0.11.0)
Using rack (1.4.1)
Using rack-protection (1.2.0)
Using tilt (1.3.3)
Using sinatra (1.3.2)
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/Rack -> console, rake, web
-----> Compiled slug size is 3.7MB
-----> Launching... done, v5
http://myapp.herokuapp.com deployed to Heroku
To [email protected]:myapp.git
d799d9c..93d7d15 master -> master
が十分に単純に思えるのチュートリアルに従って以下
は私のGitのプッシュです。しかし、HerokuのPSは、当然のことながら、私は、ログをチェックしますが、彼らは同様にアラビアであってもよい
Process State Command
------- -------------- ------------------------------------
web.1 crashed for 4s bundle exec rackup config.ru -p $P..
を与えます。
/
usr/lib/ruby/1.9.1/net/http.rb:678:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
from /usr/lib/ruby/1.9.1/net/http.rb:678:in `block in connect'
from /usr/lib/ruby/1.9.1/timeout.rb:44:in `timeout'
from /usr/lib/ruby/1.9.1/timeout.rb:89:in `timeout'
from /usr/lib/ruby/1.9.1/net/http.rb:678:in `connect'
from /usr/lib/ruby/1.9.1/net/http.rb:637:in `do_start'
from /usr/lib/ruby/1.9.1/net/http.rb:626:in `start'
from /usr/local/heroku/lib/heroku/client.rb:409:in `read_logs'
from /usr/local/heroku/lib/heroku/command/logs.rb:31:in `index'
from /usr/local/heroku/lib/heroku/command.rb:135:in `run'
from /usr/local/heroku/lib/heroku/cli.rb:9:in `start'
from /usr/bin/heroku:30:in `<main>'
私はHerokuのはルビー1.9.2でアプリを実行していたと思いますが、重要ではないthatsのでした。それは私がいくつかの種類のSSL証明書または変数が不足しているようだ。私は間違いなく私の 'go.rb'スクリプトでSSLベースの関数を使用していないが、それはまだ何かを必要と思われる。
誰でも正しい方向に向けることができますか?
config.ru
require './go'
run Sinatra::Application
これは実際にはHerokuのツールに問題があるようですが、わかりませんがあなたは[Herokuのサポート](http://support.heroku.com/)に反することができます。 –
あなたのconfig.ruに何か問題があるようです – three