Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission denied - sass/normalize.scss #8

Closed
aguatye opened this issue Dec 19, 2013 · 4 comments
Closed

Permission denied - sass/normalize.scss #8

aguatye opened this issue Dec 19, 2013 · 4 comments

Comments

@aguatye
Copy link

aguatye commented Dec 19, 2013

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
Copy link
Owner

cdukes commented Dec 20, 2013

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.

@cdukes cdukes closed this as completed Jan 2, 2014
@aguatye
Copy link
Author

aguatye commented Jan 6, 2014

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

  • branch master -> FETCH_HEAD
    Already up-to-date.

Then re-compiled and got the same error:

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

@cdukes
Copy link
Owner

cdukes commented Jan 6, 2014

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
Copy link
Author

aguatye commented Jan 7, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants