Forum: Ruby on Rails Ruby on Rails Devise Error: no secure_key

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
53197663d96e40f051d53bb1b42b50db?d=identicon&s=25 Anishka Vaghani (pretty_g)
on 2013-10-04 04:56
I just installed devise 3.1.1 and whenever I run "rails generate
devise:install" I get an error saying that "Devise.secret_key was not
set. Please add the following to your Devise initializer." I checked in
my "Config/initializers/" folder but there is no "devise.rb" file to
edit! What should I do? please help me, I'm rails beginner and I
searched everywhere but found no solution. thank you.
unknown (Guest)
on 2013-10-14 03:58
(Received via mailing list)

how did you install devise? did you add it to your gem file? run bundle?

all the best,

This topic is locked and can not be replied to.