Permalink
Browse files

adding ro's rake task, he couldn't push hard enough for github

  • Loading branch information...
1 parent 5baca29 commit 7e0e57d1e41425d9212d1e32a0361711f36fddce Rich Cavanaugh committed Jun 10, 2008
Showing with 6 additions and 0 deletions.
  1. +6 −0 Rakefile
View
@@ -35,4 +35,10 @@ task :generate_gemspec do
spec << "end"
open("acts_as_revisable.gemspec", "w").write(spec.join("\n"))
+end
+
+desc "Install acts_as_revisable"
+task :install => :repackage do
+ options = FatJam::ActsAsRevisable::GemSpecOptions::HASH.clone
+ sh %{sudo gem install pkg/#{options[:name]}-#{spec.version} --no-rdoc --no-ri}
end

0 comments on commit 7e0e57d

Please sign in to comment.