Opensource with life.
su ubuntu -c 'source /etc/profile && cd /home/ubuntu/downloads/redmine-2.1/ && NEWRELIC_ENABLE=true rails s Puma -e production -p 8080 -d'