put RAILS_ENV=production in /etc/profile
use $host instead