Skip to content

Commit

Permalink
bring bundled tilt up to 0.8 for jruby fixes and cleaner APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
rtomayko committed Mar 7, 2010
1 parent 754f116 commit b72eb59
Show file tree
Hide file tree
Showing 2 changed files with 183 additions and 96 deletions.
4 changes: 2 additions & 2 deletions lib/sinatra/base.rb
Expand Up @@ -8,8 +8,8 @@
# require tilt if available; fall back on bundled version.
begin
require 'tilt'
if Tilt::VERSION < '0.7'
warn "WARN: sinatra requires tilt >= 0.7; you have #{Tilt::VERSION}. " +
if Tilt::VERSION < '0.8'
warn "WARN: sinatra requires tilt >= 0.8; you have #{Tilt::VERSION}. " +
"loading bundled version..."
Object.send :remove_const, :Tilt
raise LoadError
Expand Down

0 comments on commit b72eb59

Please sign in to comment.