在命令行下输入 gem server 随后在命令行下会输出 Starting gem server on http://localhost:8808/ 然后再浏览器中输入http://localhost:8808/就可以查看ruby所安gem的文档了