Heroku: Deploying Rail Application Problems

I am trying to deploy a rails application using heroku (as shown here ). I created a very simple application for rails (using ruby โ€‹โ€‹1.9.2 and rails 3.0.3, I'm sure heroku supports them - see the heroku documentation), created and clicked github repo, created repo gekuu and clicked it (all commits made). And when I try to access my application controller, it throws out a page of 404 rails, as if it says: "There is no such controller." I made heroku rake db:migrate , but the first time I ran it, I got a "host not found" error. Doing this fixed it again. Well, I'm not sure if I should run heroku addons add:postgresql - i, although postgres is enabled by default, but heroku says I have to pay to get a DB (the current command I mentioned asks me to confirm its setting )

It may sound silly, but how can I deploy my rail application (itโ€™s very simple) without paying any fees and troubles like 404 pages, as I mentioned at the beginning of my post? (and this is my question). Maybe I should choose a different hosting (if it exists in our world), or am I doing something wrong with heroics?

0
source share
1 answer

You forgot to click quotes_controller.rb on git and the hero, perhaps.

 git add controllers/quotes_controller.rb 

it seems you forgot your models too and probably a lot of files.

+3
source

All Articles