Merge pull request #717 from bingwei/master

Support building gem and doc locally
add description of how to build gem and doc locally