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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community 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.
5251fb12ad96bacd1f57e579b28b30fe?d=identicon&s=25 unknown (Guest)
on 2013-10-14 03:58
(Received via mailing list)
Hey,

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

all the best,

Andre
This topic is locked and can not be replied to.