I am attempting to use SASS/Compass in Fedora 18 on my localhost test server, located at: /var/www/html
Ruby/gems and compass have already been installed.
Now, I'm trying to create a test file and have compass watch a certain directory.
When I navigate to the directory I want to be in and type:
compass create sass-test
I get this:
Errno::EACCES on line ["247"] of /usr/share/ruby/fileutils.rb: Permission denied - /var/www/html/kba/sass-test
Run with --trace to see the full backtrace
What am I missing? How can I make this work?
This works anywhere except my localhost so I tried :
sudo compass create sass-test
Then I get this:
sudo: compass: command not found
What should I do?
sudo
or somechown
andsuexec
. Then yoursudo
is failing for a different reason:compass
is on your search path, but not onroot
's. Try doingwhich compass
orwhereis compass
as a normal user, then something likesudo /full/path/compass