1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

Fix app_file detect when under /usr/lib/ruby/1.8 (debian, etc.) [#249]

This commit is contained in:
Ryan Tomayko 2009-07-26 13:04:52 -07:00
parent 8c666fb11f
commit 08cce319c5

View file

@ -955,7 +955,7 @@ module Sinatra
public
CALLERS_TO_IGNORE = [
/lib\/sinatra.*\.rb$/, # all sinatra code
/\/sinatra(\/(base|main|showexceptions))?\.rb$/, # all sinatra code
/\(.*\)/, # generated code
/custom_require\.rb$/, # rubygems require hacks
/active_support/, # active_support require hacks