only set RAILS_ENV from config if it's not already set. this primarily affects the runnable trait as described in #155