これは、初めてのRubyアプリケーションをレールサーバーで実行しているときの私のエラーです。時々、私は乗り切ることができます。時には、このエラーは60%になることがあります。AbstractController :: Helpers :: RailsのMissingHelperError :: WelcomeController#index
AbstractController::Helpers::MissingHelperError in Rails::WelcomeController#index
Missing helper file helpers/c:/users/benjamin/desktop/pinteresting/app/helpers/application_helper.rb_helper.rb
Rails.root: c:/Users/Benjamin/desktop/pinteresting
Application Trace | Framework Trace | Full Trace
actionpack (4.2.5.1) lib/abstract_controller/helpers.rb:151:in `rescue in block in modules_for_helpers'
actionpack (4.2.5.1) lib/abstract_controller/helpers.rb:148:in `block in modules_for_helpers'
actionpack (4.2.5.1) lib/abstract_controller/helpers.rb:144:in `map!'
actionpack (4.2.5.1) lib/abstract_controller/helpers.rb:144:in `modules_for_helpers'
actionpack (4.2.5.1) lib/action_controller/metal/helpers.rb:93:in `modules_for_helpers'
actionpack (4.2.5.1) lib/abstract_controller/helpers.rb:108:in `helper'
actionpack (4.2.5.1) lib/action_controller/railties/helpers.rb:17:in `inherited'
railties (4.2.5.1) lib/rails/application_controller.rb:1:in `<top (required)>'
activesupport (4.2.5.1) lib/active_support/dependencies.rb:274:in `require'
activesupport (4.2.5.1) lib/active_support/dependencies.rb:274:in `block in require'
activesupport (4.2.5.1) lib/active_support/dependencies.rb:240:in `load_dependency'
activesupport (4.2.5.1) lib/active_support/dependencies.rb:274:in `require'
railties (4.2.5.1) lib/rails/welcome_controller.rb:1:in `<top (required)>'
activesupport (4.2.5.1) lib/active_support/inflector/methods.rb:263:in `const_get'
activesupport (4.2.5.1) lib/active_support/inflector/methods.rb:263:in `block in constantize'
activesupport (4.2.5.1) lib/active_support/inflector/methods.rb:259:in `each'
activesupport (4.2.5.1) lib/active_support/inflector/methods.rb:259:in `inject'
activesupport (4.2.5.1) lib/active_support/inflector/methods.rb:259:in `constantize'
activesupport (4.2.5.1) lib/active_support/dependencies.rb:566:in `get'
あなたの質問にコードを投稿してください。リンクをクリックすると404が表示されます。 – bork
'helper file helpers/c:/ users/benjamin/desktop/pinteresting/app/helpers/application_helper.rb_helper.rb'が見つかりません - このパスには何か問題があります。これは' helpers/c: 'ディレクトリにあります。これは、ソースコードの由来は何ですか? StackOverflowの質問ではgithubリポジトリにリンクするだけでは不十分です。関連するすべてのコードを含める必要があります。 –
アプリケーション名を「Pinteresting」から「pinteresting」に変更します。 –