2017-01-22 7 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) 

누구는 무슨 일이 일어나고 있는지 알고 내 gemfile에 simple_form 보석을 추가하고 나는 다음과 같은 오류가 명령 줄에서 rails generate simple_form:install을 실행하여 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 하나입니다? 그렇다면 존재합니까?

시도 실행 :

rails generate devise View