こんにちは!
表題の件です。
twitterとfacebookの認証過程で上記の問題が発生します。
以下のコードGemへ記載し、bundle installするとターミナルが正常に作動しません。
【Gemへの記載コード】
gem 'omniauth' gem 'omniauth-facebook' gem 'omniauth-twitter'
【ターミナル表記】
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/i18n-0.7.0/lib/i18n/backend/base.rb:184:in `rescue in load_yml': can not load translations from C:/Users/keiga/Desktop/rails/Revenge/config/locales/devise.ja.yml: #<Psych::SyntaxError: (C:/Users/keiga/Desktop/rails/Revenge/config/locales/devise.ja.yml): did not find expected key while parsing a block mapping at line 65 column 7> (I18n::InvalidLocaleData) from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/i18n-0.7.0/lib/i18n/backend/base.rb:181:in `load_yml' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/i18n-0.7.0/lib/i18n/backend/base.rb:165:in `load_file' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/i18n-0.7.0/lib/i18n/backend/base.rb:15:in `block in load_translations' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/i18n-0.7.0/lib/i18n/backend/base.rb:15:in `each' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/i18n-0.7.0/lib/i18n/backend/base.rb:15:in `load_translations' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/i18n-0.7.0/lib/i18n/backend/simple.rb:57:in `init_translations' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/i18n-0.7.0/lib/i18n/backend/simple.rb:40:in `available_locales' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/i18n-0.7.0/lib/i18n/config.rb:43:in `available_locales' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/i18n-0.7.0/lib/i18n/config.rb:49:in `available_locales_set' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/i18n-0.7.0/lib/i18n.rb:278:in `locale_available?' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/i18n-0.7.0/lib/i18n.rb:284:in `enforce_available_locales!' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/i18n-0.7.0/lib/i18n.rb:151:in `translate' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/bundler/gems/active_admin-0a5a15b88bff/lib/active_admin/filters/resource_extension.rb:166:in `search_status_section' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/bundler/gems/active_admin-0a5a15b88bff/lib/active_admin/filters/resource_extension.rb:161:in `add_search_status_sidebar_section' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/bundler/gems/active_admin-0a5a15b88bff/lib/active_admin/filters/resource_extension.rb:17:in `initialize' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/bundler/gems/active_admin-0a5a15b88bff/lib/active_admin/batch_actions/resource_extension.rb:6:in `initialize' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/bundler/gems/active_admin-0a5a15b88bff/lib/active_admin/namespace.rb:180:in `new' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/bundler/gems/active_admin-0a5a15b88bff/lib/active_admin/namespace.rb:180:in `find_or_build_resource' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/bundler/gems/active_admin-0a5a15b88bff/lib/active_admin/namespace.rb:44:in `register' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/bundler/gems/active_admin-0a5a15b88bff/lib/active_admin/application.rb:158:in `register' from C:in `register' from C:/Users/keiga/Desktop/rails/Revenge/app/admin/admin_user.rb:1:in `<top (required)>' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `load' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `block in load' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `load' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/bundler/gems/active_admin-0a5a15b88bff/lib/active_admin/application.rb:216:in `block in load' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/bundler/gems/active_admin-0a5a15b88bff/lib/active_admin/error.rb:41:in `capture' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/bundler/gems/active_admin-0a5a15b88bff/lib/active_admin/application.rb:216:in `load' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/bundler/gems/active_admin-0a5a15b88bff/lib/active_admin/application.rb:208:in `block in load!' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/bundler/gems/active_admin-0a5a15b88bff/lib/active_admin/application.rb:208:in `each' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/bundler/gems/active_admin-0a5a15b88bff/lib/active_admin/application.rb:208:in `load!' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/bundler/gems/active_admin-0a5a15b88bff/lib/active_admin/application.rb:230:in `routes' from C:in `routes' from C:/Users/keiga/Desktop/rails/Revenge/config/routes.rb:4:in `block in <top (required)>' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb:432:in `instance_exec' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb:432:in `eval_block' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb:410:in `draw' from C:/Users/keiga/Desktop/rails/Revenge/config/routes.rb:1:in `<top (required)>' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `load' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `block in load' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `load' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib/rails/application/routes_reloader.rb:40:in `block in load_paths' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib/rails/application/routes_reloader.rb:40:in `each' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib/rails/application/routes_reloader.rb:40:in `load_paths' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib/rails/application/routes_reloader.rb:16:in `reload!' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib/rails/application/routes_reloader.rb:26:in `block in updater' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/file_update_checker.rb:75:in `call' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/file_update_checker.rb:75:in `execute' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib/rails/application/routes_reloader.rb:27:in `updater' from C:in `execute_if_updated' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib/rails/application/finisher.rb:69:in `block in <module:Finisher>' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `instance_exec' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `run' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib/rails/initializable.rb:55:in `block in run_initializers' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:345:in `each' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:345:in `call' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib/rails/initializable.rb:54:in `run_initializers' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib/rails/application.rb:352:in `initialize!' from C:/Users/keiga/Desktop/rails/Revenge/config/environment.rb:5:in `<top (required)>' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.2.6/lib/activ ・・・・省略
なんなんでしょうか?
検討もつきません。。。
あなたの回答
tips
プレビュー