update README (use ruby lessc instead of node.js)

This commit is contained in:
Nils Schneider 2011-09-16 19:52:43 +02:00
parent e9f0de9d73
commit 4a1c5131f3
2 changed files with 2 additions and 2 deletions

View file

@ -63,5 +63,5 @@ These ruby gems are required to build the website:
* jekyll * jekyll
* json * json
* aquarium * aquarium
* less
Additionally, ```lessc``` is required (in ```$PATH```).

View file

@ -31,7 +31,7 @@ module Jekyll
choices = Dir['**/*'].reject { |x| File.symlink?(x) } choices = Dir['**/*'].reject { |x| File.symlink?(x) }
if choices.include?(@file) if choices.include?(@file)
source = File.read(@file) source = File.read(@file)
f = IO.popen("lessc", "w+") f = IO.popen("lessc -", "w+")
f.write(source) f.write(source)
f.close_write() f.close_write()