begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = 'db-charmer' gemspec.summary = 'db-charmer 1.0.1' 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.3.3') end rescue LoadError puts 'Jeweler not available. Install it with: sudo gem install jeweler' end