Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7165495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:15:33+00:00 2026-05-28T14:15:33+00:00

I am attempting to run my rails app using Passenger and Apache. As far

  • 0

I am attempting to run my rails app using Passenger and Apache. As far as I know I followed the instructions here correctly: http://www.modrails.com/documentation/Users%20guide%20Apache.html

When I have an index.html file present in my /public directory the url serves that page. To not use the index.html file I deleted it, created a new controller which created a new view, among other things, under /app/views/home/index.html.erb. In my routes.rb file I have: root :to => "home#index"

When I have done this in the past, using just the build in rails server or running the app using thin everything has always played nice and it serves the erb file the route points to. Under passenger, however, as soon as I remove index.html from public I get the following and I’m not sure how to fix it:

[ pid=24427 thr=78414880 file=utils.rb:176 time=2012-01-18 14:55:17.386 ]: *** Exception PhusionPassenger::UnknownError in PhusionPassenger::Rack::ApplicationSpawner (Could not find factory_girl-2.4.2 in any of the sources (Bundler::GemNotFound)) (process 24427, thread #<Thread:0x9590840>):
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/bundler-1.0.21/lib/bundler/spec_set.rb:88:in `block in materialize'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/bundler-1.0.21/lib/bundler/spec_set.rb:82:in `map!'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/bundler-1.0.21/lib/bundler/spec_set.rb:82:in `materialize'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/bundler-1.0.21/lib/bundler/definition.rb:90:in `specs'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/bundler-1.0.21/lib/bundler/definition.rb:135:in `specs_for'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/bundler-1.0.21/lib/bundler/definition.rb:124:in `requested_specs'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/bundler-1.0.21/lib/bundler/environment.rb:23:in `requested_specs'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/bundler-1.0.21/lib/bundler/runtime.rb:11:in `setup'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/bundler-1.0.21/lib/bundler.rb:110:in `setup'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/utils.rb:326:in `prepare_app_process'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/rack/application_spawner.rb:156:in `block in initialize_server'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/utils.rb:572:in `report_app_init_status'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/rack/application_spawner.rb:154:in `initialize_server'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:204:in `start_synchronously'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:180:in `start'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/rack/application_spawner.rb:129:in `start'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:253:in `block (2 levels) in spawn_rack_application'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:246:in `block in spawn_rack_application'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server_collection.rb:82:in `block in synchronize'
        from <internal:prelude>:10:in `synchronize'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
        from /usr/local/rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/helper-scripts/passenger-spawn-server:99:in `<main>'

This is what I have configured Apache with:

<VirtualHost *:9090>
        ServerName my.server.name:9090
        DocumentRoot /var/www/app_dir/public
        <Directory /var/www/app_dir/public>
                AllowOverride all
                Options -MultiViews
        </Directory>
</VirtualHost>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T14:15:33+00:00Added an answer on May 28, 2026 at 2:15 pm

    Found a solution right here on SO, it wasn’t a routing error after all. https://stackoverflow.com/a/5921024/551736

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently on Dreamhost attempting to run a Rails 2.3.5 app. Here is the
I'm using gvim and rails.vim and getting the following error when attempting to run
I am attempting to deploy a RoR app using Passenger onto my DreamHost hosting
I am using Capistrano to deploy a ruby on rails project. I am attempting
I'm attempting to get my first hello world rails example going using the rails'
I'm attempting to run a RoR app locally for the first time. I've started
I am attempting to run a sample in facebook-csharp-sdk found here https://github.com/facebook-csharp-sdk/facebook-csharp-sdk . I
I am attempting to run a Python application within Apache (prefork) with WSGI in
I am attempting to run an Access append query in C# using OleDbCommand. As
I'm attempting to update my existing rails app (3.0.3) to 3.1.0.beta1. I've install the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.