cdukes / bones-for-genesis-2-0

A starting point for new Genesis projects. Built for Genesis 3.* and WordPress 5.*+.
GNU General Public License v3.0
182 stars 61 forks source link

Permission denied - sass/normalize.scss #8

Closed aguatye closed 10 years ago

aguatye commented 10 years ago

When I download the zip file and try to compile using compass.app - I always getPermission denied - /Users/me/Desktop/bones-for-genesis-2-0-master/sass/normalize.scss and styles.css is not created

cdukes commented 10 years ago

You'll have to initialize the submodules. I'd recommend cloning the repo (to preserve it as a repo), then try running git submodule foreach git pull origin master.

aguatye commented 10 years ago

Hey - thanks for the reply :) - I tried that command and got this response:

Entering 'sass/normalize.scss' From git://github.com/JohnAlbin/normalize.css-with-sass-or-compass

Then re-compiled and got the same error:

Permission denied - /Users/mymac/Desktop/bones-for-genesis-2-0/sass/normalize.scss

cdukes commented 10 years ago

This exact sequence always works for me:

git clone https://github.com/cdukes/bones-for-genesis-2-0
cd bones-for-genesis-2-0
git submodule init
git submodule update
git submodule foreach git pull origin master

Does running that give you a full repo with submodule files included? If so, then I'd say the permissions issue is likely with your compiler. Have you tried command line SASS?

aguatye commented 10 years ago

Yes - that sequence clones and updates - I was using the git client for mac... maybe I should rethink and use command line. I did some googling and ran this command in terminal after the above:

sass --watch /Users/mymac/Desktop/bones-for-genesis-2-0/sass:/Users/mymac/Desktop/bones-for-genesis-2-0/css

It gave this error

Errno::EISDIR: Is a directory - /Users/mymac/Desktop/bones-for-genesis-2-0/sass/normalize.scss Use --trace for backtrace.

After more google searching I find this is a probably ruby error (ruby 2.0.0p247) as I am running mac OSX - looks like I need to do some researching on rvm and ruby to fix this.

Thanks for your time