title: Rails/Passenger sub URI error
body: <p>I am attempting to deploy a Rails 3.0.0 application to a sub URI using passenger 2.2.15.</p>
  
  <p>I believe I've made the correct <code>RailsBaseURI</code> changes to my http.conf , have symlinked the sub URI to the public directory of my app and added the following line of code to <code>environments/production.rb</code>:</p>
  
  <pre><code>config.action_controller.relative_url_root = "/sub_uri"
  </code></pre>
  
  <p>I've done this several times pre-rails3.0.0. That said, the app won't launch.  It fails with the following Passenger error:</p>
  
  <pre><code>Error Message: wrong number of arguments(1 for 0)
  
  Exception class: ArgumentError
  
  /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.0/lib/action_controller/railtie.rb 54 in `relative_url_root='
  </code></pre>
  
  <p>Is there an incompatibility between passenger 2.2.15 and rails 3.0.0 that affects sub URI's?</p>
  
  <p>Any help sorting out this error is greatly appreciated.</p>