Add Rails environment to db template deployment