Why is the rails_12factor gem necessary on Heroku?

后端 未结 6 419
情歌与酒
情歌与酒 2021-01-01 17:13

I noticed that the new version of Michael Hartl\'s Ruby on Rails Tutorial says to include the following to serving static assets on Heroku

gem \'rails_12facto

6条回答
  •  再見小時候
    2021-01-01 18:07

    Just ran into a problem with a Rails 4 application on Heroku and couldn't debug it with heroku run logs. Without the rails12factor gem, you can't see the full logs that you normally see on your console in development. I was getting a 500 error and there wasn't any available information.

    It actually didn't tell me that migrations were pending without rails12factor

提交回复
热议问题