Skip to content

Commit

Permalink
Support rake building with Ruby 1.8, fixes #559
Browse files Browse the repository at this point in the history
  • Loading branch information
thorlarholm committed Aug 9, 2012
1 parent 0d9b3b9 commit adcb117
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Rakefile
Expand Up @@ -43,6 +43,7 @@ BuildTask.define_task 'dist/zepto.js' => DEFAULT_MODULES.map {|m| "src/#{m}.js"
end

file 'dist/zepto.min.js' => 'dist/zepto.js' do |task|
require 'rubygems'
begin require 'uglifier'
rescue LoadError; fail "Uglifier not available: #{$!}"
else
Expand Down

0 comments on commit adcb117

Please sign in to comment.