Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Not sure what is going on, I was able to install git via the terminal (had to create a bash_profile).

Now I installed ruby and did install sass. However when I did sass --version I got a bash error? I installed a 2nd time, samething, then I tried installing a 3rd time and got a new error:

enter image description here

I'm so lost, I don't know how VIM is useful, no idea what a bash_profile is.

Here is the contents of my bash_profile which I had to create in order to get the correct version of git working:

export PATH="/usr/local/bin:$PATH"

Any and all tips appreciated!

UPDATE, I needed to use sudo gem install sass, and was able to install it (for the 3rd time) However, I still cannot get the version of sass or do any other sass commands?

enter image description here

share|improve this question
This question has nothing to do with Vim or Git: I removed the tags. – romainl May 27 '13 at 5:20
up vote 2 down vote accepted

If you installed Ruby with Homebrew, try running brew unlink ruby; brew link ruby:

$ which sass
$ brew unlink ruby; brew link ruby
Unlinking /usr/local/Cellar/ruby/2.0.0-p0... 20 links removed
Linking /usr/local/Cellar/ruby/2.0.0-p0... 31 symlinks created
$ which sass

Or add /usr/local/opt/ruby/bin to the path.

$ brew --prefix ruby
$ stat -f%Y /usr/local/opt/ruby
$ export PATH=/usr/local/opt/ruby/bin:$PATH
$ which sass

sudo /usr/bin/gem install sass should install a binary of sass to /usr/bin/sass.

share|improve this answer
Sweet that worked! Unlinking sounded scary, so I tried the syntax below, I'm able to get Sass 3.2.9 (Media Mark) now :D also side note: I love LiveReload.... takes care of sass for me without having to tell the terminal to watch folders – Leon Gaban May 27 '13 at 5:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .