Ruby on Rails integration with Pug (ex. Jade)

How it works

This gem compiles Jade templates with command line tool.

There are support of all basic features including advanced:

Jade template can be alternatively compiled using command line. This method is impemented in this fork.

Installing

Install Pug globally via npm:

npm install -g pug-cli

Add to your Gemfile:

gem 'pug-rails', '~> 1.0'

Require Pug runtime.js:

//= require pug/runtime

Running Tests

bundle exec rake test

Versioning

Gem version always reflects the version of Pug it contains.