Skip to content

Commit

Permalink
rake >= 10.2.x is not compatible with ruby 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyates committed Mar 27, 2014
1 parent 8089f06 commit db6d0da
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion imap-backup.gemspec
Expand Up @@ -16,7 +16,11 @@ Gem::Specification.new do |gem|
gem.require_paths = ['lib']
gem.version = Imap::Backup::VERSION

gem.add_runtime_dependency 'rake'
if RUBY_VERSION < '1.9'
gem.add_runtime_dependency 'rake', '< 10.2.0'
else
gem.add_runtime_dependency 'rake'
end
gem.add_runtime_dependency 'highline'
gem.add_runtime_dependency 'mail'
if RUBY_VERSION < '1.9'
Expand Down

0 comments on commit db6d0da

Please sign in to comment.