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

Cannot get a build - Path issues #29

Open
ataucher opened this issue Jun 18, 2015 · 1 comment
Open

Cannot get a build - Path issues #29

ataucher opened this issue Jun 18, 2015 · 1 comment

Comments

@ataucher
Copy link

I followed everything here: http://stackoverflow.com/questions/19610553/sass-wont-build-in-sublime-text-2-errno-2-no-such-file-or-directory

I tried symlink and also changing the path code in the SASS.sublime-build file to point to my sass install
like this:

{
    "cmd": ["sass", "--update", "$file:${file_path}/${file_base_name}.css", "--stop-on-error", "--no-   cache"],
    "selector": "source.sass, source.scss",
    "line_regex": "Line ([0-9]+):",

    "osx":
    {
        "path": "/Users/Andrew/.rvm/gems/ruby-2.1.1/bin/sass"
    },

    "windows":
    {
        "shell": "true"
    }

}

But I keep getting this error:
[Errno 20] Not a directory
[cmd: [u'sass', u'--update', u'/Applications/MAMP/htdocs/Alloy- Engineering/sass/styles.scss:/Applications/MAMP/htdocs/Alloy-Engineering/sass/styles.css', u'--stop- on-error', u'--no-cache']]
[dir: /Applications/MAMP/htdocs/Alloy-Engineering/sass]
[path: /Users/Andrew/.rvm/gems/ruby-2.1.1/bin/sass]
[Finished]

Also, if I change my path in SASS.sublime-build back to: "path": "/usr/local/bin:$PATH"
I get this error: env: ruby_executable_hooks: Not a directory

Running MAC OS Mavericks and Sublime Text 2.

@will-stone
Copy link

Did you ever manage to fix this? Trying to get ST3 working with an RBENV installation of Ruby and Sass gem.

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