Permalink
Browse files

We don't need gem tasks, we have a gemspec

  • Loading branch information...
1 parent 48fef64 commit ac8f9276f5a5e8dea5d68c20daf5f5a69a299b88 @drogus committed Oct 21, 2010
Showing with 0 additions and 17 deletions.
  1. +0 −17 railties/lib/rails/generators/rails/plugin_new/templates/Rakefile
@@ -8,7 +8,6 @@ end
require 'rake'
require 'rake/rdoctask'
-require 'rake/gempackagetask'
<%= rakefile_test_tasks %>
@@ -21,19 +20,3 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_files.include('README.rdoc')
rdoc.rdoc_files.include('lib/**/*.rb')
end
-
-spec = Gem::Specification.new do |s|
- s.name = "<%= name %>"
- s.summary = "Insert <%= camelized %> summary."
- s.description = "Insert <%= camelized %> description."
- s.files = FileList["[A-Z]*", "lib/**/*"]
- s.version = "0.0.1"
-end
-
-Rake::GemPackageTask.new(spec) do |pkg|
-end
-
-desc "Install the gem #{spec.name}-#{spec.version}.gem"
-task :install do
- system("gem install pkg/#{spec.name}-#{spec.version}.gem --no-ri --no-rdoc")
-end

0 comments on commit ac8f927

Please sign in to comment.