Forums

Cannot install compass ?

Hi there !

(django16)19:50 ~/extense (master)$ gem install compass
ERROR:  While executing gem ... (Errno::EACCES)
Permission denied - /var/lib/gems

I can't install compass for run a basic compass compile and compile my scss in my project. Can I do something about it? :)

Thanks !

I'm no Ruby master, but have you tries:

gem install --user-install compass

Thanks

Yeah, thanks, it works !

I just add this into my .bashrc :

export PATH="`ruby -rubygems -e 'puts Gem.user_dir'`/bin:$PATH"

Excellent, thanks for letting us know :-)