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.
This worked for me
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
First i tried this: It was solved by removing line eval
$(rbenv init -)
in my ~/.bash_profile. It didn't work for me.
So I Removed the .rbenv in the /users/ur-username/ path. To remove it you can use this command.
$rm -Rf .rbenv
Then go ahead and run the install script. This worked for me.
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.
It looks like you're not using the system ruby, but a ruby via rbenv which you installed via homebrew. Try:
/usr/bin/ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go/install)"