Railsアプリケーションを配備するためのherokuブログのすべてのガイドラインに従っています。私はまた、私のアプリは正常にプッシュされ、私のアカウントにアプリを作成しました。私はそれは私に次のエラー与え、私のサイトを実行しようとする。しかし:RailsアプリケーションをHerokuにデプロイするときにApp Crashedエラーが発生する
App crashed
This application is temporarily offline.
If you're the administrator of this app, please check your heroku logs for the
backtrace.
が、私はここにログをチェックしようとしたが、私は私のRails_Appディレクトリに.gems
ファイルを作った
C:\Users\raw\Desktop\html\rohit>heroku logs
Missing the Rails 2.3.8 gem. Please `gem install -v=2.3.8 rails`, update your RAILS_GEM_
VERSION setting in config/environment.rb for the Rails version you do have installed, or
comment out RAILS_GEM_VERSION to use the latest version installed.
==> dyno-3674485.log (crash) <==
Missing the Rails 2.3.8 gem. Please `gem install -v=2.3.8 rails`, update your RAILS_GEM_
VERSION setting in config/environment.rb for the Rails version you do have installed, or
comment out RAILS_GEM_VERSION to use the latest version installed.
-----> Rails can't find the expected version.
Check to ensure you have specified the correct version of Rails in your
Gemfile or .gems. See http://docs.heroku.com/gems for details.
You may also be affected by a gem dependency issue with rack.
See http://docs.heroku.com/gem-dependency for details.
Examine the backtrace above this message to debug.
IIを得たものです:
rails -v '2.3.8'
pg
rack -v '1.1.0'
haml -v '3.0.13'
formtastic -v '0.9.8'
authlogic -v '2.1.5'
subdomain-fu -v '0.5.4'
compass -v '0.10.2'
compass-colors -v '0.3.1'
paperclip -v '2.3.3'
activemerchant -v '1.9.0'
icalendar
これを動作させるにはどうすればよいですか?
あなたはherokuコンソールに接続できますか?http://docs.heroku.com/console?ただherokuを再起動してみてください – Raghu
herokuコンソールはこのエラーを表示します=> 'あなたのアプリケーションはコンソールセッションを開くのには余裕がありません。コンソールセッションでは、実行に使用するために開いたdynoが必要です。 ' – Rohit
.gemsファイルのdepedenciesを' --ignore-depedencies'として無視するコマンドを追加しました。問題は解決されました。 – Rohit