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

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

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 ...