LoginSignup
6
6

More than 5 years have passed since last update.

「undefined method `configure'」と表示されたときの対処方法

Last updated at Posted at 2015-02-21

状況

undefined method 'configure' for #<FirstApp::Application:0x007fb5278fe6c8> (NoMethodError)

対処方法

  • stackoverflowの回答によると、 config/environments/development.rb を変えてあげればいいとのこと
  • アプリ名が「FirstApp」だったので、以下のように修正した
Gemfile
Rails.application.configure do
  
FirstApp::Application.configure do

参考記事

6
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
6