update rakefile for RM 2+