Add initializer for pygments to fix crash on Mac OS X.

王权利请求将github/fork/jfroy/master合并到master

Created by: jfroy

The pygments module loads Python lazily on first use, which in turn causes CoreFoundation to be loaded (if using the system's default Python interpreter). CoreFoundation has an initialization function that must run on the main thread.

By adding an initialization module which simply calls Pygments.start, Python is loaded when the rails application loads, on the main thread.

Issue: #244 (closed)

合并请求报告