a simple hack to replace CodeRay with Pygments as the syntax highlighting tool in Redmine
install Pygments
sudo easy_install Pygments
install pygments.rb gem
gem install pygments.rb
get the latest redmine_pygments from github
git clone https://github.com/alecchen/redmine_pygments.git <your_redmine_dir>/plugins
then restart your redmine
tested on Redmine 2.0.3