Running rails g devise_google_authenticator:install
There was an error while trying to load the gem 'devise_google_authenticator'.
Gem Load Error is: undefined method `to_prepare' for ActionDispatch::Callbacks:Class
Did you mean? to_param
Bundler Error Backtrace:
(Bundler::GemRequireError)
from /Users/e832319/.rvm/gems/ruby-2.4.2@rails/gems/bundler-1.16.1/lib/bundler/runtime.rb:80:in `block (2 levels) in require'
from /Users/e832319/.rvm/gems/ruby-2.4.2@rails/gems/bundler-1.16.1/lib/bundler/runtime.rb:76:in `each'
from /Users/e832319/.rvm/gems/ruby-2.4.2@rails/gems/bundler-1.16.1/lib/bundler/runtime.rb:76:in `block in require'
from /Users/e832319/.rvm/gems/ruby-2.4.2@rails/gems/bundler-1.16.1/lib/bundler/runtime.rb:65:in `each'
from /Users/e832319/.rvm/gems/ruby-2.4.2@rails/gems/bundler-1.16.1/lib/bundler/runtime.rb:65:in `require'
from /Users/e832319/.rvm/gems/ruby-2.4.2@rails/gems/bundler-1.16.1/lib/bundler.rb:114:in `require'
from /Users/e832319/work/ruby/BrownBoxServer/config/application.rb:7:in `<top (required)>'
from /Users/e832319/.rvm/gems/ruby-2.4.2@rails/gems/spring-2.0.2/lib/spring/application.rb:92:in `require'
from /Users/e832319/.rvm/gems/ruby-2.4.2@rails/gems/spring-2.0.2/lib/spring/application.rb:92:in `preload'
from /Users/e832319/.rvm/gems/ruby-2.4.2@rails/gems/spring-2.0.2/lib/spring/application.rb:153:in `serve'
from /Users/e832319/.rvm/gems/ruby-2.4.2@rails/gems/spring-2.0.2/lib/spring/application.rb:141:in `block in run'
from /Users/e832319/.rvm/gems/ruby-2.4.2@rails/gems/spring-2.0.2/lib/spring/application.rb:135:in `loop'
from /Users/e832319/.rvm/gems/ruby-2.4.2@rails/gems/spring-2.0.2/lib/spring/application.rb:135:in `run'
from /Users/e832319/.rvm/gems/ruby-2.4.2@rails/gems/spring-2.0.2/lib/spring/application/boot.rb:19:in `<top (required)>'
from /Users/e832319/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/e832319/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from -e:1:in `<main>'
Running rails g devise_google_authenticator:install