require 'rubygems' require 'bundler' begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts "Run `bundle install` to install missing gems" exit e.status_code end require 'rake' require 'torquebox-rake-support' require 'jeweler' Jeweler::Tasks.new do |gem| # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options gem.name = "torquebox-backstage" gem.homepage = "http://github.com/torquebox/backstage" gem.license = "MIT" gem.summary = %Q{BackStage - Queue/Topic/Job viewer for TorqueBox} gem.description = %Q{BackStage - Queue/Topic/Job viewer for TorqueBox} gem.email = "tcrawley@redhat.com" gem.authors = ["Tobias Crawley"] gem.files = FileList["[A-Z]*", 'backstage.rb', 'config.ru', 'bin/*.rb', "{config,lib,spec,views}/**/*"] gem.executables = %w{backstage} # Include your dependencies below. Runtime dependencies are required when using your gem, # and development dependencies are only needed for development (ie running rake tasks, tests, etc) gem.add_runtime_dependency 'thor', '> 0.14' gem.add_runtime_dependency 'bundler', '>= 1.0.12' end Jeweler::RubygemsDotOrgTasks.new