I'm trying to start a new rails app with devise and simple_form. After adding the simple_form gem to my gemfile and bundling, when I try to configure simple_form by running rails generate simple_form:install
from the command line I get the following error:
[Simple Form] Simple Form is not configured in the application and will use the default values. Use `rails generate simple_form:install` to generate the Simple Form configuration.
~/.gem/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:261:in `const_get': uninitialized constant View (NameError)
Anybody know what's going on?
It seems like the it's just a warning.
The underlying error is: ~/.gem/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:261:in
const_get': uninitialized constant View (NameError)`
Is View
one of your devise models? If yes, does it exist?
Try running:
rails generate devise View
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.