Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8253601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T00:56:00+00:00 2026-06-08T00:56:00+00:00

I uploaded an application onto Heroku today and see this error: pplication Error An

  • 0

I uploaded an application onto Heroku today and see this error: pplication 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.

This app works locally. Here’s my log. anybody has any ideas?

2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `block in require'

2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.6/lib/rails/engine.rb:436:in `each'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.6/lib/rails/initializable.rb:54:in `each'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.6/lib/active_support/dependencies.rb:236:in `load_dependency'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.6/lib/rails/application.rb:136:in `initialize!'
2012-07-19T15:36:53+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/actives
upport-3.2.6/lib/active_support/dependencies.rb:251:in `require': /app/app/contr
ollers/comments_controller.rb:9: syntax error, unexpected $end, expecting keywor
d_end (SyntaxError)
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.6/lib/active_support/dependencies.rb:359:in `require_or_load'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.6/lib/rails/railtie/configurable.rb:30:in `method_missing'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.6/lib/active_support/dependencies.rb:313:in `depend_on'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
2012-07-19T15:36:53+00:00 app[web.1]:   from config.ru:1:in `new'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.6/lib/active_support/dependencies.rb:225:in `require_dependenc
y'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.6/lib/rails/engine.rb:438:in `block in eager_load!'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.6/lib/rails/initializable.rb:54:in `run_initializers'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.6/lib/rails/engine.rb:439:in `block (2 levels) in eager_load!'
2012-07-19T15:36:53+00:00 app[web.1]:   from config.ru:3:in `block in <main>'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
thin-1.4.1/lib/rack/adapter/loader.rb:33:in `eval'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.6/lib/rails/engine.rb:438:in `each'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.6/lib/rails/application/finisher.rb:53:in `block in <module:Finishe
r>'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.6/lib/rails/initializable.rb:30:in `run'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.6/lib/rails/engine.rb:436:in `eager_load!'
2012-07-19T15:36:53+00:00 app[web.1]:   from config.ru:3:in `require'
2012-07-19T15:36:53+00:00 app[web.1]:   from config.ru:1:in `<main>'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
thin-1.4.1/lib/rack/adapter/loader.rb:33:in `load'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/bin/t
hin:19:in `load'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
thin-1.4.1/lib/thin/controllers/controller.rb:181:in `load_rackup_config'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
thin-1.4.1/lib/thin/controllers/controller.rb:71:in `start'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
thin-1.4.1/bin/thin:6:in `<top (required)>'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.6/lib/rails/initializable.rb:30:in `instance_exec'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
railties-3.2.6/lib/rails/initializable.rb:55:in `block in run_initializers'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/config/environment.rb:5:in `<t
op (required)>'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
thin-1.4.1/lib/thin/runner.rb:185:in `run_command'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/
thin-1.4.1/lib/thin/runner.rb:151:in `run!'
2012-07-19T15:36:53+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/bin/t
hin:19:in `<main>'
2012-07-19T15:36:54+00:00 heroku[web.1]: Process exited with status 1
2012-07-19T15:36:54+00:00 heroku[web.1]: State changed from starting to crashed
2012-07-19T15:36:57+00:00 heroku[router]: Error H10 (App crashed) -> GET secret-
reaches-4317.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=
2012-07-19T15:36:57+00:00 heroku[router]: Error H10 (App crashed) -> GET secret-
reaches-4317.herokuapp.com/favicon.ico dyno= queue= wait= service= status=503 bytes

my controller code

class CommentsController < ApplicationController
 http_basic_authenticate_with :name => "test", :password => "test", :only => :destroy
  def create
    @post = Post.find(params[:post_id])
    @comment = @post.comments.create(params[:comment])
    redirect_to post_path(@post)
  end

  def destroy
    @post = Post.find(params[:post_id])
    @comment = @post.comments.find(params[:id])
    @comment.destroy
    redirect_to post_path(@post)
  end

end
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T00:56:03+00:00Added an answer on June 8, 2026 at 12:56 am

    According to the error, you are using $end when you should use end. However, the code you are showing to us is correct. So, I believe the code you have at heroku is not the same you have in your computer.

    Try updating your code to github and then to heroku again:

    git add .
    git commit -m "update"
    git push
    git push heroko
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using S3 in this application for uploaded files, as Heroku has a read-only
I have created grails application and uploaded it in heroku. If I use 'heroku
I uploaded my application 12 hours ago. Until now, I can not find my
I just uploaded my application in the market, but I'm not able to purchase
I have developed an application and successfully uploaded onto the Appstore. Now I have
I stumbled onto this problem today, let me explain the issue: I have this
I have just uploaded an app and Application Loader has given me this warning.
I recently uploaded my application to the android market however it's refusing to run
I have just uploaded my published application files to my web server but I
I developed and application and uploaded all the images in the respective drawable folders

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.