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

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.
5251fb12ad96bacd1f57e579b28b30fe?d=identicon&s=25 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,

Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.