FZ101
(FZ101)
August 14, 2010, 11:09am
1
hi all. i have install compass(followed instructions on compass home
page) but when i run the compass command my terminal returns the
"compass: command not found" error.
my os is ubuntu, rails version 2.3.5, ruby 1.8
any one has idea???
regards,
nirosh.
hassan
(Hassan Schroeder)
August 14, 2010, 1:55pm
2
Did you do `gem install compass` or `sudo gem install compass` ?
What does `gem list --local compass` output?
FZ101
(FZ101)
August 14, 2010, 3:34pm
3
*** LOCAL GEMS ***
compass (0.10.4)
but getting error when running "compass version"
error msg is "compass: command not found"
hassan
(Hassan Schroeder)
August 14, 2010, 3:42pm
4
*** LOCAL GEMS ***
compass (0.10.4)
but getting error when running "compass version"
error msg is "compass: command not found"
So it's not in your PATH. You didn't answer this question:
FZ101
(FZ101)
August 14, 2010, 5:35pm
5
yes i did install compass gem
hassan
(Hassan Schroeder)
August 16, 2010, 4:41pm
6
yes i did install compass gem
OK, one more time:
Did you do `gem install compass` or `sudo gem install compass` ?
The answer is not "yes", it's `which command did you use?`.
FZ101
(FZ101)
August 17, 2010, 5:19am
7
sudo gem install compass.
but getting error when running "compass version" that populate an
error msg ("compass: command not found")
nirosh
hassan
(Hassan Schroeder)
August 17, 2010, 2:12pm
8
Odd, but apparently it didn't get added to your existing PATH.
You'll have to find where it got installed and add that location to your
PATH manually.
Might try
locate "bin/compass"
to see what bin directory it is installed in and compare against your
path.
Steve Alex