title: Rails airbrake undefined method
body: <p>I was running my rails application and it was working fine till yesterday but today when i run rails server it is giving me this error.Though my airbrake is also dont have any errors  <br>
  [airbrake.rb]</p>
  
  <pre><code>Airbrake.configure do |config|
    config.api_key = APP_CONFIG.airbrake.api_key
    config.host    = APP_CONFIG.airbrake.host
    config.port    = APP_CONFIG.airbrake.port
    config.secure  = config.port == 443
  end
  </code></pre>
  
  <p><br></p>
  
  <blockquote>
  <pre><code>undefined method `api_key=' for #&lt;Airbrake::Config:0x000000073fa1e0&gt; (NoMethodError)
    from /home/techbirds/.rvm/gems/ruby-2.2.3/gems/airbrake-ruby-1.0.0/lib/airbrake-ruby.rb:98:in
  </code></pre>
    
    <p><code>configure'
          from /home/techbirds/icare-master/config/initializers/airbrake.rb:1:in
    </code>'
          from /home/techbirds/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in <code>load'
          from /home/techbirds/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in</code>block in load'
          from /home/techbirds/.rvm/gems/ruby-2.2.3/gems/activesupport-</p>
  </blockquote>