Complain if RAILS_ENV != the rake environment

Just in case someone attempts to run:

  RAILS_ENV=production rake staging task
Use backticks instead of sh for commands that fail

If the directory doesn't exist (like on staging), sh throws an exception
causing the deployment to fail.

Better to just print the error and move on