B
Brandon G.
All I'm trying to do is deploy an app I made using Heroku, because it
seemed simple enough when I read the instructions on various sites
explaining how to do this.
1.)Make a heroku account and install it
2.)Make a config.ru file in the root directory of the project containing
require 'movies' #movies is the name of my app
run Sinatra::Application
3.)Create the app on Heroku ($ heroku create)
4.) Use git and push the app to Heroku ($ git push heroku master)
I do all of this, and my app is being pushed to Heroku, but all I get is
an application error when I load the URL in a browser. So I run $ heroku
logs, and just get something telling me that it crashed, not giving me a
clue as to why. I was starting to think maybe it had to do with the
database? So I decided to try deploying a simple "hello world" app using
these same steps and I get the exact same error. What am I missing here?
I even tried using Bundler to make sure it gets all the required gems.
Link to github repository is https://github.com/bgerke/Ruby-Project for
anyone who is interested in helping me.
Attachments:
http://www.ruby-forum.com/attachment/6218/Ruby-Project.zip
seemed simple enough when I read the instructions on various sites
explaining how to do this.
1.)Make a heroku account and install it
2.)Make a config.ru file in the root directory of the project containing
require 'movies' #movies is the name of my app
run Sinatra::Application
3.)Create the app on Heroku ($ heroku create)
4.) Use git and push the app to Heroku ($ git push heroku master)
I do all of this, and my app is being pushed to Heroku, but all I get is
an application error when I load the URL in a browser. So I run $ heroku
logs, and just get something telling me that it crashed, not giving me a
clue as to why. I was starting to think maybe it had to do with the
database? So I decided to try deploying a simple "hello world" app using
these same steps and I get the exact same error. What am I missing here?
I even tried using Bundler to make sure it gets all the required gems.
Link to github repository is https://github.com/bgerke/Ruby-Project for
anyone who is interested in helping me.
Attachments:
http://www.ruby-forum.com/attachment/6218/Ruby-Project.zip