This method is super busy, what I'd rather see is something like:

```ruby
module Peek
  module Rblineprof
    class SyntaxHighlighter
      class_attribute :highlighter
    end
  end
end

begin
  require 'pygments.rb'
  Peek::Rblineprof::SyntaxHighlighter.highlighter = Peek::Rblineprof::SyntaxHighlighter::PygmentsHighlighter
rescue LoadError
  # Doesn't have pygments.rb installed
end

if Peek::Rblineprof::SyntaxHighlighter.highlighter.nil?
  begin
    require 'rouge'
    Peek::Rblineprof::SyntaxHighlighter.highlighter = Peek::Rblineprof::SyntaxHighlighter::RougeHighlighter
  rescue LoadError
    # Doesn't have rouge installed
  end
end
```