From 4a1c5131f3a1e064534c7803c02e1fed1379d00d Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Fri, 16 Sep 2011 19:52:43 +0200 Subject: [PATCH] update README (use ruby lessc instead of node.js) --- README.md | 2 +- _plugins/less.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d55cc214..0c6bdc17 100644 --- a/README.md +++ b/README.md @@ -63,5 +63,5 @@ These ruby gems are required to build the website: * jekyll * json * aquarium +* less -Additionally, ```lessc``` is required (in ```$PATH```). diff --git a/_plugins/less.rb b/_plugins/less.rb index 53bdb05d..97c4a36c 100644 --- a/_plugins/less.rb +++ b/_plugins/less.rb @@ -31,7 +31,7 @@ module Jekyll choices = Dir['**/*'].reject { |x| File.symlink?(x) } if choices.include?(@file) source = File.read(@file) - f = IO.popen("lessc", "w+") + f = IO.popen("lessc -", "w+") f.write(source) f.close_write()