#!/bin/bash
#which rails
eval $(ssh-agent)
ssh-add /home/ubuntu/.ssh/produccion_r42
hg pull
hg update
rake assets:precompile RAILS_ENV=production
./detener
./iniciar
