Partially working attach gems method