Browse files

add gem cutter releases

  • Loading branch information...
1 parent 662790a commit 148423a536b2423927ddfdccd1cb9120e67d8262 @siuying committed Aug 26, 2011
Showing with 17 additions and 11 deletions.
  1. +17 −11 Rakefile
View
28 Rakefile
@@ -1,15 +1,21 @@
require 'rake'
-require 'jeweler'
+begin
+ require 'jeweler'
-Jeweler::Tasks.new do |s|
- s.name = "itunes_ingestion"
- s.description = "A simple port of Apple itunes Autoingestion tool to ruby."
- s.summary = "A simple port of Apple itunes Autoingestion tool to ruby."
- s.authors = ["Francis Chong"]
- s.email = "francis@ignition.hk"
- s.homepage = "http://github.com/siuying/itunes-auto-ingestion"
- s.files = FileList["[A-Z]*", "{bin,lib,spec}/**/*"]
- s.test_files = FileList["{spec}/**/*"]
- s.extra_rdoc_files = [ 'README.rdoc' ]
+ Jeweler::Tasks.new do |s|
+ s.name = "itunes_ingestion"
+ s.description = "A simple port of Apple itunes Autoingestion tool to ruby."
+ s.summary = "A simple port of Apple itunes Autoingestion tool to ruby."
+ s.authors = ["Francis Chong"]
+ s.email = "francis@ignition.hk"
+ s.homepage = "http://github.com/siuying/itunes-auto-ingestion"
+ s.files = FileList["[A-Z]*", "{bin,lib,spec}/**/*"]
+ s.test_files = FileList["{spec}/**/*"]
+ s.extra_rdoc_files = [ 'README.rdoc' ]
+ end
+
+ Jeweler::GemcutterTasks.new
+rescue LoadError
+ puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

0 comments on commit 148423a

Please sign in to comment.