Permalink
Browse files

ignore bundler when setting app_file (thus finding the correct views …

…folder)
  • Loading branch information...
1 parent d79a663 commit 1f0c0bc4673eb4d6705969ff04cfe01cc1cc4060 @rkh rkh committed Nov 21, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/sinatra/base.rb
View
@@ -1197,7 +1197,8 @@ def metadef(message, &block)
/\(.*\)/, # 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 ...

0 comments on commit 1f0c0bc

Please sign in to comment.