silverstripe-labs/silverstripe-compass — Issue #3: Cannot set gems path
Author: Xananax
Created: 2011-11-18 13:53:14+00:00
State: open

On my ubuntu box, gem environment tells me my gems can be installed in the following locations:

- /var/lib/gems/1.8

- /home/xananax/.gem/ruby/1.8

My ~/.gem dir is empty, so I wanna use va/lib/.. However, if I set "define('SS_GEM_PATH', '/var/lib/gems/1.8/');", it does not work.
If I set "define('SS_GEM_PATH', '/var/lib/gems/1.8/gems');" it does not work either.
Both give me:

ERROR [User Error]: Compass Error:
Could not install required gem compass. Either manually install, or repair error. Error message was: ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory - /var/lib/gems/1.8/.gem/ruby/1.8/cache/compass-0.8.17.gem

To note my version of compass is 0.11.5 (the last one, installed via gem).
What path should I use?