./www/ruby-pygments.rb, Pygments wrapper for ruby

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2015Q1, Version: 0.6.2, Package name: ruby200-pygments.rb-0.6.2, Maintainer: pkgsrc-users

# pygments.rb

A Ruby wrapper for the Python [pygments syntax
highlighter](http://pygments.org/).

pygments.rb works by talking over a simple pipe to a long-lived Python child
process. This library replaces
[github/albino](https://github.com/github/albino), as well as a version of
pygments.rb that used an embedded Python interpreter.

Each Ruby process that runs has its own 'personal Python'; for example, 4
Unicorn workers will have one Python process each. If a Python process dies,
a new one will be spawned on the next pygments.rb request.


Required to run:
[devel/ruby-posix-spawn] [lang/python27] [lang/ruby200-base] [textproc/ruby-yajl]

Master sites:

SHA1: ae81891a878a27a593a6e96841e208edb45612af
RMD160: 5ba2f900499ba78d851048a237dff1379af1e16f
Filesize: 1848 KB

Version history: (Expand)