I've found a few related posts but none match my specific problem and I think i've tried everything.
This is the error I get:
[Errno 2] No such file or directory
[cmd: [u'sass', u'--update', u'/Users/ryanwaters/Code/raw_portfolio/public/css/stylesheet.css.scss:/Users/ryanwaters/Code/raw_portfolio/public/css/stylesheet.css.css', u'--stop-on-error', u'--style', u'compressed']]
[dir: /Users/ryanwaters/Code/raw_portfolio/public/css]
[path: /usr/local/bin/sass]
[Finished]
When I put which sass
in command line I get /Users/ryanwaters/.rvm/gems/ruby-1.9.3-p429/bin/sass
I've changed the pass several times and still can't figure out what the problem is
This seems pretty simple, but my problem was that I upgraded my mac's OS to Yosemite. I must've done something wrong, because my sass installation didn't carry over.
So, Sublime was throwing this error because it couldn't find sass. I reinstalled it, and everything worked as before.
This question is nearly an exact duplicate of SASS won't build in Sublime Text 2 [Errno 2] No such File or Directory from several days ago. If you look at my answer there, you'll see that you need to change the path to sass
. You can either edit your SASS.sublime-build
file and change the "cmd":
line to point to /Users/ryanwaters/.rvm/gems/ruby-1.9.3-p429/bin/sass
, or you can make a symlink to it in one of Sublime's default search directories, like /usr/local/bin
or /usr/bin
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With