ignore bundler when setting app_file (thus finding the correct views folder)

This commit is contained in:
Konstantin Haase 2010-11-21 22:59:04 +01:00
parent 97d5c1e96f
commit 45f954fa32
1 changed files with 2 additions and 1 deletions

View File

@ -1201,7 +1201,8 @@ module Sinatra
/\(.*\)/, # generated code
/rubygems\/custom_require\.rb$/, # rubygems require hacks
/active_support/, # active_support require hacks
/<internal:/, # internal in ruby >= 1.9.2
/bundler(\/runtime)?\.rb/, # bundler require hacks
/<internal:/ # internal in ruby >= 1.9.2
]
# add rubinius (and hopefully other VM impls) ignore patterns ...