require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "sinatra-dm-auth" gemspec.summary = "User authorization extension for Sinatra" gemspec.description = "sinatra-dm-auth is an extension for Sinatra to add simple user authorization" gemspec.email = "aka.vince@gmail.com" gemspec.homepage = "http://github.com/daddz/sinatra-dm-auth" gemspec.authors = ["Dominic Werner"] end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end