<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -35,7 +35,7 @@ spec = Gem::Specification.new do |s|
 end
 
 
-desc &quot;create .gemspec file (useful for github)&quot;
+desc &quot;Create .gemspec file (useful for github)&quot;
 task :gemspec do
   filename = &quot;#{spec.name}.gemspec&quot;
   File.open(filename, &quot;w&quot;) do |f|
@@ -43,6 +43,15 @@ task :gemspec do
   end
 end
 
+Rake::GemPackageTask.new(spec) do |pkg|
+  pkg.gem_spec = spec
+end
+
+desc &quot;Install the gem locally&quot;
+task :install =&gt; [:package] do
+  sh %{sudo gem install pkg/couchrest-#{CouchRest::VERSION}}
+end
+
 desc &quot;Run all specs&quot;
 Spec::Rake::SpecTask.new('spec') do |t|
 	t.spec_files = FileList['spec/**/*_spec.rb']</diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>abd19f7b68bd3b70d902a57b9395879511956bfe</id>
    </parent>
  </parents>
  <author>
    <name>Adam Jacob</name>
    <email>adam@hjksolutions.com</email>
  </author>
  <url>http://github.com/jchris/couchrest/commit/c3e34fc9897c80eedc2c605f94424b50fa4e70c1</url>
  <id>c3e34fc9897c80eedc2c605f94424b50fa4e70c1</id>
  <committed-date>2009-03-27T11:52:04-07:00</committed-date>
  <authored-date>2009-03-25T13:48:55-07:00</authored-date>
  <message>Adding a Gem Package rake (rake package) task, along with rake install (to install the gem after building)</message>
  <tree>771021c91aab9d788fb372459787e13cdb5e4cf5</tree>
  <committer>
    <name>Matt Aimonetti</name>
    <email>mattaimonetti@gmail.com</email>
  </committer>
</commit>
