git - Ruby + Compass: Permission Issues -


i have been having sorts of permission issues using scss + compass after pulling git repo project contains this. works great if created own sass project scratch.

inside git repo project, sass lies, run:

compass watch 

...and get...

>>> change detected to: print.scss errno::eacces on line 25 of /library/ruby/gems/1.8/gems/sass-3.2.10/lib/sass/../sass/cache_stores/filesystem.rb: permission denied - /applications/mamp/htdocs/dt/resources/slice/html/.sass-cache/f2469bce8a00b9f9dd394c466620079eaa696535/print.scssc 

so logged in root user , ran...

chmod 777 /library/ruby 

...with no luck.

when first installed ruby, used sudo install gem ***. seems use read bad idea. (such case)

tried installing fresh copy of ruby while logged in normal admin user , don't have permissions install it.

fetching: compass-0.12.2.gem (100%) error:  while executing gem ... (gem::filepermissionerror)     don't have write permissions /library/ruby/gems/1.8 directory. 

which why went sudo route. so. bit stumped on why , how fix issue. besides running off root user.

forgot add if helps: ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]

the issue you're having:

errno::eacces on line 25 of /library/ruby/gems/1.8/gems/sass-3.2.10/lib/sass/../sass/cache_stores/filesystem.rb: permission denied - /applications/mamp/htdocs/dt/resources/slice/html/.sass-cache/f2469bce8a00b9f9dd394c466620079eaa696535/print.scssc 

indicates not you're having permissions problem in /library/ruby, you're having permissions problem in /applications/mamp/htdocs/dt/resources/slice/html/.sass-cache/f2469bce8a00b9f9dd394c466620079eaa696535/. correct permissions in directory , problem should go away.

as why you're having installation issues, that's separate problem i've got no idea about!


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -