最近打算看ruby. 今天用命令gem install rails的时候碰到这样的错误提示: ERROR: Error installing XXXXXXXXXXX: The 'XXXXXXXXXXXX' native gem requires installed build tools. Please update your PATH to include build tools or download the DevKit from 'http:…
这两天在我的mac机上安装Ruby On Rails,感觉很爽,似乎在使用一个Windows和Linux的结合体,要界面有界面,要命令行有命令行. 不过安装Ruby On Rails的过程中遇到一个问题,花了点时间.找到问题根源后发现自己挺可笑的,所以记录在这里,希望大家不要象我这么傻. 问题的现象是我安装Ruby On Rails的时候系统没有响应.在安装完Ruby 2.0.0后运行"gem install rails"命令开始安装Rails,系统死活没有响应,于是Ctr+C 中断安…
ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory. 原因是没有写的权限 解决办法 sudo gem install dryrun…
转自:http://my.oschina.net/moks/blog/200344 [摘要]Because libv8 is the interface for the V8 engine used by therubyracer, you may need to use libv8, even if you have V8 installed already. If you wish to use your own V8 installation, rather than have it bu…
今天安装mongoose一直报错,上图 具体的错误记录: info it worked if it ends with ok verbose cli [ 'C:\\Program Files\\nodejs\\node.exe', verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', verbose cli 'install', verbose cli 'mongoose' ] info info…