fixing local image upload and installing activeadmin