Ruby on Rails Tuesday, November 1, 2016

Basically when you run on heroku by the default the mode is production

so you need to match your development config with production

remember not every config value needs to be the same

specially the one mentioned out here - secret_key_base

On Tuesday, 1 November 2016 06:57:09 UTC+5:30, kinoe - wrote:

run rails -e production

error like this:


Internal Server Error

Missing `secret_key_base` for 'production' environment, set this value in `config/secrets.yml`

Pada Senin, 31 Oktober 2016 15.54.06 UTC+7, Chirag Jain menulis:
Try to launch your app locally in production mode

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/deae7b8b-30be-4902-9759-570ad3b9e29a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment