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()