Hi,
i've tried to use the hugofy plugin with my sublimetext.
hugofy: Version
causes the following error: "Hugo not installed or path not set"
which hugo
then i've checked the sourcecode:
out=subprocess.check_output("hugo version",stderr=subprocess.STDOUT,universal_newlines=True)
>>> import subprocess
>>> subprocess.check_output("hugo version",stderr=subprocess.STDOUT,universal_newlines=True)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 566, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
>>>import subprocess
subprocess.check_output(["hugo", "version"],stderr=subprocess.STDOUT,universal_newlines=True)
'Hugo Static Site Generator v0.14 BuildDate: 2015-09-22T13:00:01+02:00\n'
this worked better for me, can you reproduce this issue?
MacOS 10.11.1, Python 2.7.10
if you like i can provide a PR