2017-01-22 17 views
0

私はdeviseとsimple_formで新しいレールアプリを開こうとしています。Rails simple_form gemを設定できません

[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) 

誰もが何が起こっているのか知っている?私は、コマンドラインからrails generate simple_form:installを実行してsimple_formを設定しようとすると、私は次のエラーを取得する、私のgemfileとバンドルにsimple_form宝石を追加した後

答えて

0

それは単なる警告のようです。

根本的なエラーがある:~/.gem/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:261:in const_get ':初期化されていない定数ビュー(NameError) `

はあなたの工夫モデルのView 1ですか?はいの場合は存在しますか?

実行してみましょう:

rails generate devise View

関連する問題