Thursday, February 20, 2014

Learn Web Development with the Ruby on Rails Tutorial | A Demo App

Learn Web Development with the Ruby on Rails Tutorial | A Demo App: "# This should only be used if your Heroku deploy fails without it.
$ rake assets:precompile
$ git add .
$ git commit -m "Add precompiled assets for Heroku"
$ git push heroku master
This shouldn’t be necessary, and I have been unable to reproduce the issue, but the reports are common enough that I include it here for reference.)

To get the application’s database to work, you’ll also have to migrate the production database:

$ heroku run rake db:migrate"



'via Blog this'

No comments:

Post a Comment