Skip to content

Commit

Permalink
ignore bundler when setting app_file (thus finding the correct views …
Browse files Browse the repository at this point in the history
…folder)
  • Loading branch information
rkh committed Dec 14, 2010
1 parent d79a663 commit 1f0c0bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/sinatra/base.rb
Expand Up @@ -1197,7 +1197,8 @@ def metadef(message, &block)
/\(.*\)/, # generated code /\(.*\)/, # generated code
/rubygems\/custom_require\.rb$/, # rubygems require hacks /rubygems\/custom_require\.rb$/, # rubygems require hacks
/active_support/, # active_support 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 ... # add rubinius (and hopefully other VM impls) ignore patterns ...
Expand Down

0 comments on commit 1f0c0bc

Please sign in to comment.