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 6538389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:43:48+00:00 2026-05-25T10:43:48+00:00

I just finished setting up a Rackspace Cloud Server to host a website I’m

  • 0

I just finished setting up a Rackspace Cloud Server to host a website I’m going to build using Ruby on Rails. I’ve installed the latest versions of Apache, Rails, and Passenger (although to be honest, I’m not quite sure what Passenger gets me) – (I just checked, and Passenger doesn’t come up in a gem list, but it is present in mods-enabled).

I’ve got everything set up, and I can get simple routes working with the appropriate controllers and views.

The problem I’m having is that it I can only see changes to a view after restarting Apache, so I assume some sort of caching is going on. I’ve followed several tips on SO for how to make sure I’m running in development mode, but nothing seems to work. I’ve placed a statement in my Apache config file, as well as in my Rails app’s environment.rb file.

1) How can I see which mode I’m currently in?
2) How do I change it to whatever I need it to be?

Also, a lot of answers I’m finding are presuming that you’re running your app in script/console mode. I’m working directly on the server via ssh, and I haven’t ever had to turn my rails app on using script/console. It’s just there and running.

Thanks

Update: If I print out Rails.env in a view, it lists production. If I fire up rails console on the command line, and print out Rails.env, it lists development.

  • 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-25T10:43:49+00:00Added an answer on May 25, 2026 at 10:43 am

    Without seeing how you set the environment, this is the best advice I can give you.

    <VirtualHost *>
      ServerName example.com
      DocumentRoot /home/yourname/htdocs/example.com/public
      RailsEnv development
      //Plus whatever else you might have in your standard Virtual Host
    </VirtualHost>
    

    After you edit this file you must restart Apache.

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

Sidebar

Related Questions

I just finished setting up an out-of-place build system for our existing C++ code
I am setting up a rails app and I just finished making some unit
I just finished setting up my Eclipse with the Android plug-in. (i.e https://dl-ssl.google.com/android/eclipse/ )
So I am just starting out developing PHP web applications and have finished setting
Just finished installing libevent(1.4.8), memcached(1.4.5), pear, and libmemcached(0.40) to my lamp server (running PHP
I just finished setting up a local site for development with apache2 on OSX,
I am really stuck on this one. Website is almost finished. Just trying to
Just finished read this post by Greg Young, where he is talking about Microsoft
Just finished reading Crockford's JavaScript: The Good Parts and I have a question concerning
Just finished reading this blog post: http://www.skorks.com/2010/03/an-interview-question-that-prints-out-its-own-source-code-in-ruby/ In it, the author argues the case

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.