Heroku application error

i’m following along with michael hartl’s tutorial
(http://ruby.railstutorial.org/chapters/a-demo-app#top), creating a demo
app.

i pushed my app/db/data on to heroku (falling-sky-4350.heroku.com/), but
am getting an error

An error occurred in the application and your page could not be served.
Please try again in a few moments.

If you are the application owner, check your logs for details.

my heroku log is attached. can someone please help me to suss it out?
thanks.

Same heroku log I am also having. If you find solution Please send to
[email protected]

On 30 September 2011 10:32, The T. [email protected] wrote:

If you are the application owner, check your logs for details.
Posted via http://www.ruby-forum.com/.


-------------Regards---------------
G SubbaRao
Cell:08970668850
E-Mail:[email protected]

Put postgres in your Gemfile . As far as I remember the Jeromy FAQ
points to
this issue.

HTH Norbert


send by Samsung Galaxy Tab with Overcome Mod
Am 30.09.2011 07:02 schrieb “The T.” [email protected]:

If you are the application owner, check your logs for details.
Posted via http://www.ruby-forum.com/.


You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

2011/9/30 zver [email protected]:

Hi!

Look at mine Gemfile. Perhapse you find some idea how to set “pg” gem.

mauto/Gemfile at master · otobrglez/mauto · GitHub

As far as I understand the working of heroku deploy, it does not look
at your Gemfile, but at your Gemfile.lock, so if you “bundle install
–without production” (or what ever the command was), pg will not be
in your Gemfile.lock, so heroku does not see it! Same point is for
your rubyracer-gem… So you should make them visible even for your
dev-env.

Its possible that I am wrong, but even then I would prefer to use
postgres in development, so stumble over problems with pg already
locally and dont have to debug with remote when there are any problems
in the pg-implemention.

  • Oto

HTH
Norbert

Hi!

Look at mine Gemfile. Perhapse you find some idea how to set “pg” gem.

  • Oto

I’m also having an same error with http://smoothipod.heroku.com/ while
following with http://ruby.railstutorial.org/chapters/beginning#top by
Michael H… Also another similar (little different) error with
http://meinkampf.heroku.com/.

The strange thing is, both of these applications work on my
http://localhost:3000 but not on heroku. I am stuck in this since
yesterday
and haven’t found any solutions yet. Any help would be really great.
Thanks
in advance. :slight_smile:

Thank you, that worked. :slight_smile:

I also ran into the same error after following the instructions when
following the instructions in Ruby on Rails Tutorial: Learn Rails by
Example http://ruby.railstutorial.org/chapters/beginning#top by
Michael H…

The problem is that Heroku doesn’t support the SQLite.

The solution is to convert your database to either MongoDB or
PostgreSQL. The instructions can be found at
http://railsapps.github.com/rails-heroku-tutorial.html.