begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = 'db-charmer' gemspec.summary = 'ActiveRecord Connections Magic' gemspec.description = 'ActiveRecord Connections Magic (slaves, multiple connections, etc)' gemspec.email = 'alexey@kovyrin.net' gemspec.homepage = 'http://github.com/kovyrin/db-charmer' gemspec.authors = ['Alexey Kovyrin'] gemspec.add_dependency('rails', '>= 2.2.0') end rescue LoadError puts 'Jeweler not available. Install it with: sudo gem install jeweler' end