<% last_line = false %>
<% exception.backtrace.each do |line| %>
<% ending = last_line && !line.include?(Rails.root.to_s) ? false : true %>
<% break if !ending%>
<% if ending %>
<%= line %>
<% end %>
<% last_line = line.include?(Rails.root.to_s) %>
<% end %>
Please try relaunching this application