begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "magentor" gemspec.summary = "Ruby wrapper for the Magento xmlrpc api" gemspec.email = "preston.stuteville@gmail.com" gemspec.homepage = "http://github.com/pstuteville/magentor" gemspec.authors = ["Preston Stuteville"] gemspec.has_rdoc = true gemspec.rdoc_options = ["--main", "README.rdoc", "--inline-source", "--line-numbers"] gemspec.extra_rdoc_files = ["README.rdoc"] end rescue LoadError puts "Jeweler not available. Install it with: gem install jeweler" end