这两天在我的mac机上安装Ruby On Rails,感觉很爽,似乎在使用一个Windows和Linux的结合体,要界面有界面,要命令行有命令行. 不过安装Ruby On Rails的过程中遇到一个问题,花了点时间.找到问题根源后发现自己挺可笑的,所以记录在这里,希望大家不要象我这么傻. 问题的现象是我安装Ruby On Rails的时候系统没有响应.在安装完Ruby 2.0.0后运行"gem install rails"命令开始安装Rails,系统死活没有响应,于是Ctr+C 中断安…
gem install pg -v '0.18.2' Building native extensions. This could take a while... ERROR: Error installing pg: ERROR: Failed to build gem native extension. current directory: /Users/bevan/.rvm/gems/ruby-2.3.0/gems/pg-0.18.2/ext /Users/bevan/.rvm/rubie…
最近打算看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:…