title: rake db:migrate rake aborted! NoMethodEr
body: <p>When I try to run <em>rake db:migrate</em> I am getting following error:</p>
  
  <pre><code>DEPRECATION WARNING: The factory_girl gem is deprecated. Please upgrade to factory_bot. See https://github.com/thoughtbot/factory_bot/blob/v4.9.0/UPGRADE_FROM_FACTORY_GIRL.md for further instructions. (called from &lt;top (required)&gt; at /var/www/html/sophy_web/config/application.rb:14)
  /root/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/actionpack-4.2.8/lib/action_dispatch/http/mime_type.rb:163: warning: already initialized constant Mime::PDF
  /root/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/actionpack-4.2.8/lib/action_dispatch/http/mime_type.rb:163: warning: previous definition of PDF was here
  rake aborted!
  NoMethodError: undefined method `&gt;' for nil:NilClass
  /var/www/html/application/config/initializers/rollbar.rb:2:in `&lt;top (required)&gt;'
  /var/www/html/application/config/environment.rb:5:in `&lt;top (required)&gt;'
  Tasks: TOP =&gt; db:migrate =&gt; environment
  (See full trace by running task with --trace)
  </code></pre>
  
  <p>I am using ruby version 2.5.1 and rails 4.2.8.</p>
  
  <p>Code of my rollbar.rb:</p>
  
  <pre><code>require 'rollbar/rails'
  Rollbar.configure do |config|      
    config.access_token = '9234902384023843203fsd23'
  
    # Here we'll disable in 'test':
    if Rails.env.test?
      config.enabled = false
    end
  end
  </code></pre>
  
  <p>Code of my environment.rb</p>
  
  <pre><code># Load the Rails application.
  require File.expand_path('../application', __FILE__)
  
  # Initialize the Rails application.
  Rails.application.initialize!
  </code></pre>