title: Uninitialized constant ApplicationController::Ability on Heroku
body: <p>I have a rails 4 application successfully running locally with cancan. But when I push it to Heroku, I get this error, each time the code tries to authorize anything</p>
  
  <pre><code>Uninitialized constant ApplicationController::Ability
  </code></pre>
  
  <p>Looking at the logs, it looks like its failing in this method, which I have in my application controller. Any idea what is going on?</p>
  
  <pre><code>  def current_ability
      @current_ability ||= Ability.new(current_user, load_service_provider_from_host)
    end
  </code></pre>
  
  <p>This works fine on my local machine.</p>