search for: backtrace_line

Displaying 2 results from an estimated 2 matches for "backtrace_line".

2012 Dec 17
11
[Puppet Upgrade] Puppet agent does not work
...<th>#</th> <th>File</th> <th>Line</th> <th>Location</th> </tr> <tr class="backtrace_line framework uneven"> <td class="index">0</td> <td class="filename">/usr/lib/ ruby/site_ruby/1.8/rubygems/custom_require.rb</td> &...
2008 Jan 04
1
patch for html display
...te_formatter.rb (revision 906) +++ /Users/timcharper/www/exchange/vendor/plugins/rspec/lib/spec/runner/formatter/text_mate_formatter.rb (working copy) @@ -6,8 +6,9 @@ # Formats backtraces so they''re clickable by TextMate class TextMateFormatter < HtmlFormatter def backtrace_line(line) - line.gsub(/([^:]*\.rb):(\d*)/) do - "<a href=\"txmt://open?url=file://#{File.expand_path($1)}&line=#{$2}\">#{$1}:#{$2}</a> " + line.gsub!(/^(On line #([0-9]+) of )(.+)$/) { "app/views/#{$3}:#{$2}"} + line.gs...