testing SyntaxHighlighter

Posted by b.vandgrift Sat, 14 Nov 2009 20:19:00 GMT

the main things: shell:
sudo gem install redis
sudo gem install redis-namespace 
# be sure gemcutter.org is added to your sources
ruby:
class Handler 
   def call(env, options = {})
      #FIXME yeah, this is secure.
      send(env['REQUEST_METHOD'].downcase)
    rescue NoMethodError => nme
      [ 404, {}, ["Unsupported request method."]]
    end
end