# App works fine locally, but crashes on deploy to Heroku

**URL:** <https://www.ruby-forum.com/t/app-works-fine-locally-but-crashes-on-deploy-to-heroku/245388>\
**Category:** Deployment\
**Created:** [May 21, 2013, 12:16am UTC](https://www.ruby-forum.com/t/app-works-fine-locally-but-crashes-on-deploy-to-heroku/245388 "2013-05-21T00:16:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rafa\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/958977/32.png) [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Post date:** [May 21, 2013, 12:16am UTC](https://www.ruby-forum.com/t/app-works-fine-locally-but-crashes-on-deploy-to-heroku/245388/1 "2013-05-21T00:16:25Z")

</div>

Hi.  
Just finished migrating Michael H.'s sample app to rails 4 and ruby  
2.  
Everything works great locally, but when i deploy to heroku the app  
crashes and the logs don’t give me anything.

the app: [GitHub - assafshomer/sample\_app: Ruby on Rails Tutorial sample\_app](https://github.com/assafshomer/sample_app)

## the error message in the browser:

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.

## Heroku logs:

## 2013-05-20T22:13:22.838866+00:00 heroku[web.1]: Process exited with status 0 2013-05-20T22:13:22.853999+00:00 heroku[web.1]: State changed from starting to crashed

HELP PLEASE!!
