hoblin / x-tracker

Stats analysis tool for selected tweets.
MIT License
12 stars 2 forks source link

NoMethodError: undefined method `secret_key' for nil:NilClass #58

Open AndnixSH opened 10 months ago

AndnixSH commented 10 months ago

Describe the Bug After step 3, I got the following error

vm@vm-Standard-PC-i440FX-PIIX-1996:~/x-tracker$ rails db:create db:migrate
DEPRECATION WARNING: DeprecatedConstantAccessor.deprecate_constant without a deprecator is deprecated (called from <top (required)> at /home/vm/x-tracker/config/application.rb:19)
bin/rails aborted!
NoMethodError: undefined method `secret_key' for nil:NilClass
/home/vm/x-tracker/config/initializers/devise.rb:7:in `block in <top (required)>'
/home/vm/x-tracker/config/initializers/devise.rb:1:in `<top (required)>'
/home/vm/x-tracker/config/environment.rb:5:in `<top (required)>'
Tasks: TOP => db:create => db:load_config => environment
(See full trace by running task with --trace)

Environment (please complete the following information):