Why is the rails_12factor gem necessary on Heroku?

后端 未结 6 428
情歌与酒
情歌与酒 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:02

    This gem enables serving assets in production and setting your logger to standard out, both of which are required to run a Rails 4 application on a twelve-factor provider. The gem also makes the appropriate changes for Rails 3 apps.

提交回复
热议问题