title: Different output from ruby console and application
body: <p>I've got a legacy Rails 2.3.2 application which has some functionality that allows a user to access some of the rake tasks via the browser. Just recently, the application stopped showing the list of available tasks (which it gets by running a shell command) <strong>in the browser</strong>.</p>
  
  <p>On my development machine it works perfectly. It also works perfectly for a bunch of other production servers. However, any new production server I create this stops working.</p>
  
  <p>Now here is the frustrating part. If I test the code in the console, it works perfectly even on the problematic production servers. I've even tested it by making calls via <code>app.get</code> in the console and it always works. I've tested this on both development and production environments in the console. Again, it only seems to fail in the browser.</p>
  
  <p>Can anybody please suggest any strategies for figuring this thing out? Why would the response via the browser and via the console be any different?</p>