This is a beginner mistake I am sure as I am new to terminal etc. I am trying to get compass working on my mac, I have already installed sass and got it working but when I try to install compass even though it works I can not run it...
computer-name:~ me$ sudo gem install compass
Password:
Successfully installed compass-0.12.2
Parsing documentation for compass-0.12.2
1 gem installed
computer-name:~ me$ compass -v
-bash: compass: command not found
computer-name:~ me$ sass -v
Sass 3.2.12 (Media Mark)
Entering:
gem list
Also returns:
compass (0.12.2)
Some things I was thinking were maybe I have a conflict, I originally tried to install without sudo
and it worked, I tried again with sudo
but it still didn't work.
My $PATH has:
computer-name:~ me$ echo $PATH
/usr/local/bin:/usr/local/sbin:~/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/me/.rvm/bin
The last one .rvm/bin seems to be ruby but does not contain compass (although sass is not there either...)
I found compass in usr/local/Cellar/ruby/2.0.0-p247/bin/
but looking at tutorials it seems like it should just run, I am assuming I have done something to break the normal functionality and I would like to know how to test for this or fix it.
Note: sass is in the same folder and sass -v
shows the version so I assume it is in the path some how (maybe ruby finds it...)