about summary refs log tree commit homepage
path: root/projects/gem_plugin/Rakefile
diff options
context:
space:
mode:
authorzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-03-11 06:36:57 +0000
committerzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-03-11 06:36:57 +0000
commitf7ea5955e2e49d081742dcc2f51edcf066b4ddbd (patch)
treeeb46c7bb68a65d5c75b4ae6fb5be706271ec82b4 /projects/gem_plugin/Rakefile
parente0d06cdcb71a8b3bffefbe2ef5c44ced8287086d (diff)
downloadunicorn-f7ea5955e2e49d081742dcc2f51edcf066b4ddbd.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@93 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'projects/gem_plugin/Rakefile')
-rw-r--r--projects/gem_plugin/Rakefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/projects/gem_plugin/Rakefile b/projects/gem_plugin/Rakefile
index 2066b60..2a98b4c 100644
--- a/projects/gem_plugin/Rakefile
+++ b/projects/gem_plugin/Rakefile
@@ -16,8 +16,9 @@ desc "Does a full compile, test run"
 task :default => [:test, :package]
 
 version = "0.2"
+name="gem_plugin"
 
-setup_gem("gem_plugin", version) do |spec|
+setup_gem(name, version) do |spec|
   spec.author="Zed A. Shaw"
   spec.summary = "A plugin system based only on rubygems that uses dependencies only"
   spec.description = spec.summary
@@ -26,7 +27,7 @@ setup_gem("gem_plugin", version) do |spec|
 end
 
 task :gem_test => [:package] do
-  sh %{sudo gem install pkg/gem_plugin-#{version}}
+  sh %{sudo gem install pkg/#{name}-#{version}}
 end
 
 task :site => [:rerdoc] do