Search code examples
ruby-on-railsrubydevise

How to install the devise_security_extension gem?


I need to install the devise_security_extension gem. I performed the following steps:

  1. added: gem 'devise_security_extension' to my gem file
  2. ran bundle install
  3. ran: rails g devise_security_extension:install

Apparently, there are some tables that need to be created, but I don't know how to create them as there is not a migration for them.


Solution

  • Since you have a schema file, you can load it using:

    SCHEMA=<complete path to file> rake db:schema:load