Português | English
Você precisará garantir que as seguintes bibliotecas estão instaladas:
$ sudo apt-get -y update
Português | English
Você precisará garantir que as seguintes bibliotecas estão instaladas:
$ sudo apt-get -y update
If your master.key has been compromised, you might want to regenerate it.
No key regeneration feature at the moment. We have to do it manually.
rails credentials:show somewhere temporarily.config/master.key and config/credentials.yml.encEDITOR=vim rails credentials:edit in the terminal: This command will create a new master.key and credentials.yml.enc if they do not exist.config/credentials.yml.enc| var mongoObjectId = function () { | |
| var timestamp = (new Date().getTime() / 1000 | 0).toString(16); | |
| return timestamp + 'xxxxxxxxxxxxxxxx'.replace(/[x]/g, function() { | |
| return (Math.random() * 16 | 0).toString(16); | |
| }).toLowerCase(); | |
| }; |