Altered rakefile to work if triggered from outside its directory