Simple bash scanner for highlighting with coderay.
gem install coderay_bash
require 'rubygems'
require 'coderay_bash'
plain = File.read('some_script.sh')
@body = CodeRay.scan(plain, :bash).div
<%= @body %>
:bash
:erb_bash
– erb code in bash stringsFor more information see CodeRay web pages
MIT