exit from rakefile if wrong version of jeweler is detected

This commit is contained in:
Tom Preston-Werner 2009-04-07 17:07:42 -07:00
parent 93e7240731
commit 5247f4ff92
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ begin
end end
rescue LoadError rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler --version '>= 0.11.0'" puts "Jeweler not available. Install it with: sudo gem install jeweler --version '>= 0.11.0'"
exit(1)
end end
Rake::TestTask.new do |t| Rake::TestTask.new do |t|