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

  • SEARCH
  • Home
  • 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 3323282
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:17:01+00:00 2026-05-17T23:17:01+00:00

Using Rails 3.0.1, Apache 2.2.9, and Passenger 3.0.0 on Debian. For some mysterious reason,

  • 0

Using Rails 3.0.1, Apache 2.2.9, and Passenger 3.0.0 on Debian.

For some mysterious reason, the Rails app is coming up in the development environment. I’ve double-checked the Apache configuration, the VirtualHost files, and so forth, and there are zero instances of “RailsEnv” or “RAILS_ENV” either in /etc/apache2 or in the app directory itself.

Worse, even if I do put a “RailsEnv production” line into the Directory block in the VirtualHost file, it makes absolutely no difference, and the app still comes up in the development environment.

Nothing interesting is logged if I set PassengerLogLevel to 1.

Any help either with what the problem is, or at least a course of action to identify the problem, would be greatly appreciated.

  • 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-17T23:17:01+00:00Added an answer on May 17, 2026 at 11:17 pm

    That’s because with config.ru your app is detected as a Rack app, not a Rails app, and thus you need to set RackEnv instead of RailsEnv. A “Rails” app refers to a “Rails 1 or 2” app. Rails 3 apps are considered to be Rack apps.

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

Sidebar

Related Questions

I am attempting to run my rails app using Passenger and Apache. As far
I am hosting a rails 3 app on a cloud VPS using apache passenger
Up until now I've been deploying Rails apps to our Apache/Passenger setup using a
I'm deploying an app to production using passenger and apache. I've deployed multiple apps
I have a rails app running on my Apache server via Passenger. Occassionally I
I'm using Apache + passenger for my rails application, The application is running fine
One of my rails apps (using passenger and apache) is changing server hosts. I've
i've setup a new rails development environment, using the multi-user rvm setup and mod
I'm running Rails 3.1.2 on Apache with the latest Passenger, 3.0.11. I'm using force_ssl
I am deploying an app on Ubuntu 10 using Passenger 2.2.15, Rails 2.3.5, Ruby

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.