Rakefile: implement rake task