update gem, rakefile and misc content fixes