Changing environment files isn’t a good thing to do. If you want to run WEBrick under production mode, then run:
ruby script/server -e production
If you’re actually trying to run a Rails app in production over WEBrick, I can only recommend that you don’t. Go pick up Mongrel if you want a quick and easy production deployment environment. WEBrick is meant and built for development / testing only.