[{"data":1,"prerenderedAt":78},["ShallowReactive",2],{"blog-post-2015-10-08-e4-bf-ae-e5-a4-8d-os-x-el-capitan-e7-b3-bb-e7-bb-9f-gem-e6-97-a0-e6-b3-95-e4-bd-bf-e7-94-a8-e7-9a-84-e9-97-ae-e9-a2-98":3},{"id":4,"title":5,"body":6,"categories":61,"date":64,"description":65,"extension":66,"meta":67,"navigation":68,"path":69,"seo":70,"stem":71,"summary":72,"tags":73,"__hash__":77},"blog\u002Fblog\u002Fe4-bf-ae-e5-a4-8d-os-x-el-capitan-e7-b3-bb-e7-bb-9f-gem-e6-97-a0-e6-b3-95-e4-bd-bf-e7-94-a8-e7-9a-84-e9-97-ae-e9-a2-98.md","修复 OS X El Capitan 系统 GEM 无法使用的问题",{"type":7,"value":8,"toc":57},"minimark",[9,27,54],[10,11,12,13,20,21,26],"p",{},"升级了 OS X El Capitan，各种问题纷至沓来，今天使用 compass 的时候就发现提示 - command not found 了，重新安装，也是各种报错，搜了一下有这个问题的人还真不少，解决方案是有的，一说是",[14,15,19],"a",{"href":16,"rel":17},"http:\u002F\u002Fapple.stackexchange.com\u002Fquestions\u002F204312\u002Fcant-install-bundler-using-gem",[18],"nofollow","关闭 rootless 功能","，不过这样个人感觉有些激进了，于是继续搜索，找到",[14,22,25],{"href":23,"rel":24},"http:\u002F\u002Fwww.hacksparrow.com\u002Fos-x-el-capitan-screwed-up-ruby-gems-and-how-to-fix-it.html",[18],"解决方案","如下：",[28,29,30,33,36,39,42,45,48,51],"blockquote",{},[10,31,32],{},"1. 打开终端； 2. 输入命令",[10,34,35],{},"sudo chown -R $(whoami):admin \u002Fusr\u002Flocal",[10,37,38],{},"3. 输入命令",[10,40,41],{},"brew update",[10,43,44],{},"4. 输入命令",[10,46,47],{},"brew install ruby",[10,49,50],{},"5. 输入命令",[10,52,53],{},"sudo gem update",[10,55,56],{},"问题解决。",{"title":58,"searchDepth":59,"depth":59,"links":60},"",2,[],[62,63],"Development","Mac","2015-10-08T11:45:17+08:00","升级了 OS X El Capitan，各种问题纷至沓来，今天使用 compass 的时候就发现提示 - command not found 了，重新安装，也是各种报错，搜了一下有这个问题的人还真不少，解决方案是有的，一说是关闭 rootless 功能，不过这样个人感觉有些激进了，于是继续搜索，找到解决方案如下：","md",{},true,"\u002Fblog\u002Fe4-bf-ae-e5-a4-8d-os-x-el-capitan-e7-b3-bb-e7-bb-9f-gem-e6-97-a0-e6-b3-95-e4-bd-bf-e7-94-a8-e7-9a-84-e9-97-ae-e9-a2-98",{"title":5,"description":65},"blog\u002Fe4-bf-ae-e5-a4-8d-os-x-el-capitan-e7-b3-bb-e7-bb-9f-gem-e6-97-a0-e6-b3-95-e4-bd-bf-e7-94-a8-e7-9a-84-e9-97-ae-e9-a2-98","升级了 OS X El Capitan，各种问题纷至沓来，今天使用 compass 的时候就发现提示 - command not found 了，重新安装，也是各种报错，搜了一下有这个问题的人还真不少，解决方案是有的，一说是关闭 rootl…",[74,75,76],"El Capitan","gem","ruby","V2_wj5B_khr_v8-fTNLM542mhSj28jRL8ErfPzsjsMQ",1795177971648]