Updated Rakefile for latest version of RM