Skip to content

Commit

Permalink
switch to pygments.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
jlong committed Jul 25, 2011
1 parent 0d850f8 commit 683a3a1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -8,7 +8,7 @@ gem 'serve', '1.5.1'
# Use Compass and Sass
gem 'compass'

gem 'rygments'
gem 'pygments.rb'
gem 'rack-codehighlighter', :git => 'git://github.com/jlong/rack-codehighlighter.git'

# Markdown and Textile
Expand Down
12 changes: 9 additions & 3 deletions Gemfile.lock
@@ -1,6 +1,6 @@
GIT
remote: git://github.com/jlong/rack-codehighlighter.git
revision: a6882034e55395e4f4bbb9b457acd1566fc009a8
revision: 6c5dcb784d14d113abf7c3a0458cdf1223adf26a
specs:
rack-codehighlighter (0.4.7)
nokogiri (>= 1.4.1)
Expand All @@ -10,18 +10,24 @@ GEM
remote: http://rubygems.org/
specs:
activesupport (3.0.9)
blankslate (2.1.2.4)
chunky_png (1.2.0)
compass (0.11.5)
chunky_png (~> 1.2)
fssm (>= 0.2.7)
sass (~> 3.1)
ffi (1.0.9)
fssm (0.2.7)
i18n (0.6.0)
nokogiri (1.5.0)
pygments.rb (0.1.2)
rubypython (>= 0.5.1)
rack (1.3.1)
rack-test (0.6.0)
rack (>= 1.0)
rygments (0.2.0)
rubypython (0.5.1)
blankslate (>= 2.1.2.3)
ffi (~> 1.0.7)
sass (3.1.4)
serve (1.5.1)
activesupport (~> 3.0)
Expand All @@ -38,6 +44,6 @@ PLATFORMS

DEPENDENCIES
compass
pygments.rb
rack-codehighlighter!
rygments
serve (= 1.5.1)
2 changes: 1 addition & 1 deletion config.ru
Expand Up @@ -31,7 +31,7 @@ if ENV['RACK_ENV'] != 'production'
end

# Syntax highlighting with Codehiglighter
require 'rygments'
require 'pygments'
require 'rack/codehighlighter'
use Rack::Codehighlighter, :pygments, :element => "pre", :pattern => /\A:::(\w+)\s*\n/, :logging => false

Expand Down

0 comments on commit 683a3a1

Please sign in to comment.