title: rails server bin/rails:6: warning: already initialized constant APP_PATH error
body: <p>I've tried a number of things like uninstalling/reinstalling rails and gems but to no avail.</p>
  
  <p>When I go into my new project and run rails s or bundle exec rails server I'm getting this error: </p>
  
  <pre><code>bin/rails:6: warning: already initialized constant APP_PATH
  /Users/toabui/Sites/cms/bin/rails:6: warning: previous definition of APP_PATH was here Usage: rails COMMAND [ARGS]
  </code></pre>
  
  <p>Inside my bin/rails I see this code:</p>
  
  <pre><code>#!/usr/bin/env ruby
  begin
  load File.expand_path("../spring", __FILE__)
  rescue LoadError
  end
  APP_PATH = File.expand_path('../../config/application',  __FILE__)
  require_relative '../config/boot'
  require 'rails/commands'
  </code></pre>
  
  <p>Does anyone know why I keep getting that error when I run rails s? </p>
  
  <p>I've googled and it seems like there is an error with the spring gem but I can‛t seem to get it to work.</p>