dsaronin/milia — pull request #38 by klippx (2014-08-19 11:44:03+00:00)
Title: Bugfix: Devise secret_key is required for rails g milia:install

During installation of milia (`rails g milia:install`) I got a lot of exceptions stemming from Devise:

```
ruby-2.0.0-p451@sample-milia-app/gems/devise-3.3.0/lib/devise/rails/routes.rb:483:in `raise_no_secret_key':
Devise.secret_key was not set. Please add the following to your Devise initializer: (RuntimeError)

config.secret_key = '0d3234a23d474c8d4c05b60c6dadecd5fdd12392ff000399633aa761f0788f132d004f74599686b48380cad1e86a64a77e6220f96d9522bdd7c79941f3c0572b'
```

The fix is to set secret_key to something (or let the user specify it) in devise.rb before continuing with the script.