ruby-on-railsdevise-invitable

Devise Invitable - Could not find generator 'devise_invitable:install'


I'm trying to setup scambra devise_invitable in my rails 5 project. After setting up the gem and bundle install, When I run the first command for the initial setup -
rails generate devise_invitable:install I get the following error.

Expected boolean default value for '--markerb'; got :erb (string)
Could not find generator 'devise_invitable:install'.
Maybe you meant 'devise:install', 'annotate:install' or 'responders:install'

This is my gemfile.

gem 'devise', github: 'plataformatec/devise', branch: 'master'
gem 'devise_invitable', '~> 1.7.2'

How do I fix this?


Solution

  • Okay. I restarted my laptop and it worked. Weird. Solution suggested from github found here. https://github.com/scambra/devise_invitable/issues/579