I'm using user-per-app configuration on an Ubuntu server running ruby 1.9.3 and rails 3.2.8.
When I create a new site using rails new test_app
in the home directory of one user (my main user) and then run rails s
from the app directory I get
Rails 3.2.8 application starting in development on http://0.0.0.0:3000
but when I su
to another user and run the same commands in the home directory of that user, I get
Rails 3.2.8 application starting in production on http://0.0.0.0:3000
and the same thing even if I run
rails s -e development
No matter what I do as the other user, I cannot get WEBrick to start in development. What's going on here?