badsyntax / SassBeautify

[not maintained] A Sublime Text plugin that beautifies Sass files.
https://github.com/badsyntax/SassBeautify
MIT License
143 stars 13 forks source link

"[Errno 2] No such file or directory" #73

Open glennonymous opened 9 years ago

glennonymous commented 9 years ago

I'm getting this error when I try to run Sass Beautify on Sublime Text 2 on a Mac running Yosemite. I have SASS installed.

badsyntax commented 9 years ago

Are you using RVM or rbenv?

glennonymous commented 9 years ago

Nope.

badsyntax commented 9 years ago

Hmm, it should just work with a default ruby install on OSX, although I haven tested this plugin in ST2 in a while.

Can you run the following in Terminal and paste the output here: which sass

dompl commented 9 years ago

Have the same problem here.

badsyntax commented 9 years ago

Can you run the following in Terminal and paste the output here: which sass

mpelzsherman commented 9 years ago

I'm having the same issue. which sass returns /Users/mps/.gem/ruby/2.1.3/bin/sass. Tried setting this as the gemPath in settings, but still getting the error.

mpelzsherman commented 9 years ago

Ah - we solved it by following your instructions here!

arxpoetica commented 9 years ago

I've followed the echo $PATH instructions and so forth, but I'm getting this error when I try and run SassBeautify:

There was an error beautifying your Sass:

rbenv: sass-convert: command not found

The `sass-convert' command exists in these Ruby versions:
  2.1.4

Here are my various paths:

which sass
/usr/local/var/rbenv/shims/sass

which ruby
/usr/local/var/rbenv/shims/ruby

which sass-convert
/usr/local/var/rbenv/shims/sass-convert

echo $PATH
/usr/local/heroku/bin:/usr/local/var/rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin

echo $GEM_PATH
[blank]

also:

ruby -v
ruby 2.1.4p265 (2014-10-27 revision 48166) [x86_64-darwin14.0]

What am I doing wrong?

mkstix6 commented 8 years ago

I also have a blank $GEM_PATH. I don't know how to proceed.

Another with the issue: https://github.com/badsyntax/SassBeautify/issues/82

El Capitain is when the issue popped up.

HaunGO commented 8 years ago

I am having the same issue.

felixprojekt commented 7 years ago

Worked for me:

Under Preferences > Package Settings > SassBeautify > Settings – User add this:

{
    "path": "/usr/local/bin",
}
kiran-kadam911 commented 7 years ago

Thanks @felixprojekt , this work for me also. #YoBoyz

sunilpujar commented 6 years ago

How to find this Path (Under Preferences > Package Settings > SassBeautify > Settings), Can some one explain

kiran-kadam911 commented 6 years ago

check in the top menu of sublime.

Best Regards, Kiran Kadam | UI Team Lead [image: Inline image 1] | www.iksula.com | 702, B Wing, Mangalya Building | Off. Marol Maroshi Road, Marol, Andheri (East), Mumbai - 400 059

On Thu, Nov 23, 2017 at 2:05 PM, sunilpujar notifications@github.com wrote:

How to find this Path (Under Preferences > Package Settings > SassBeautify

Settings), Can some one explain

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/badsyntax/SassBeautify/issues/73#issuecomment-346556561, or mute the thread https://github.com/notifications/unsubscribe-auth/AGneOE3ZHA3Qd4u6NgmclwoPIqCQWyY5ks5s5S5HgaJpZM4Dbna6 .

felixprojekt commented 6 years ago

@sunilpujar it is actually under Sublime Text > Preferences > ...