2 require 'rake/gempackagetask'
7 EMAIL = 'naitik.shah@yahoo.com'
8 HOMEPAGE = 'http://github.com/nshah/script_gem'
9 SUMMARY = 'A way to vendor rubygems for Rails applications'
11 spec = Gem::Specification.new do |s|
13 s.version = GEM_VERSION
14 s.platform = Gem::Platform::RUBY
17 s.description = s.summary
23 s.executables = 'script_gem'
24 s.require_path = 'lib'
25 s.files = %w(LICENSE README.html Rakefile TODO) + Dir.glob('{bin,lib,specs}/**/*')
26 s.extra_rdoc_files = ['README.html', 'LICENSE', 'TODO']
29 Rake::GemPackageTask.new(spec) do |pkg|
33 desc "Install the gem file #{GEM}-#{GEM_VERSION}.gem"
34 task :install => [:package] do
35 sh %{gem install pkg/#{GEM}-#{GEM_VERSION}}