sourcing rvm from proper directory, removing /opt/chef-run/cookbooks before updating it, exit on script error, restarting rogue_geonode on update_templates