Rely on PATH variable for Jekyll instead of hard-coded path
Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/e704d56c Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/e704d56c Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/e704d56c Branch: refs/heads/cordova-website Commit: e704d56cebe4c6a7eeca0d6eaf270b0bb95bf5c2 Parents: 8a359f8 Author: Brad Gashler <[email protected]> Authored: Fri Aug 7 16:44:04 2015 -0700 Committer: Brad Gashler <[email protected]> Committed: Fri Aug 7 16:44:04 2015 -0700 ---------------------------------------------------------------------- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e704d56c/gulpfile.js ---------------------------------------------------------------------- diff --git a/gulpfile.js b/gulpfile.js index 881df7c..12de442 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -88,7 +88,7 @@ gulp.task("watch", function () { }); gulp.task("gen-dev", function (done) { - exec("C:\\Ruby193\\bin\\jekyll.bat", ["build"].concat(DEV_FLAGS), done); + exec("jekyll.bat", ["build"].concat(DEV_FLAGS), done); }); gulp.task("regen-dev", ["gen-dev"], function () { @@ -100,7 +100,7 @@ gulp.task("build-dev", ["configs", "styles"], function () { }); gulp.task("gen-prod", function (done) { - exec("C:\\Ruby193\\bin\\jekyll.bat", ["build"].concat(PROD_FLAGS), done); + exec("jekyll.bat", ["build"].concat(PROD_FLAGS), done); }); gulp.task("build-prod", ["configs", "styles"], function (done) { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
