Skip to content

Instantly share code, notes, and snippets.

@pyk
Last active April 29, 2016 10:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pyk/6108287 to your computer and use it in GitHub Desktop.
Save pyk/6108287 to your computer and use it in GitHub Desktop.
i have problem sublime build [Errno 2] No such file or directory . then i fix with this code. make sure you install node and jade with npm globally. press cmd + b to convert .jade to html. this build also asume that you place your jade file to directory called jade. the html output will be outside jade folder.
{
"cmd": ["jade", "$file", "-o", "../", "--pretty"],
"selector": "source.jade",
"path": "/usr/local/bin"
}
# path is where your jade executable.
# type in terminal :
# $ which jade
# and change into "path" value into your location.
# for example if i type in my terminal :
# $ which jade
# /usr/local/bin/jade
# then i change the value of path without jade bin:
# /usr/local/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment