尝试在Mac上为Ruby on Rails上安装Homebrew时发生错误
问题描述:
我试图在OS 10.8.5的Mac上安装Homebrew,但出现错误.
I am trying to install Homebrew on my mac with OS 10.8.5 and I am getting an error.
我在终端中输入以下内容:
I enter the following into terminal:
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go/install)"
我得到以下错误
/Users/marlonmarescia/.rbenv/shims/ruby: line 21: /usr/local/Cellar/rbenv/0.4.0/libexec/rbenv: No such file or directory
答
我已经解决了这个问题.这是我的application.yml文件中的空白问题.我没有正确格式化此文件,因为YAML与Ruby不同,它对空格敏感.使用制表符或双倍空格对文件进行格式化后,Rails服务器将再次运行.
I have solved this issue. It was a whitespace issue in my application.yml file. I did not format this file correctly as YAML is whitespace sensitive unlike Ruby. Once the file was formatted using tabs or double spaces the rails server worked again.