diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-10-21 15:25:41 +0200 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2010-11-02 17:14:51 +0100 |
commit | ac8f9276f5a5e8dea5d68c20daf5f5a69a299b88 (patch) | |
tree | 1553b735581bd217ba0a4cb7bc61f7eabf3e1931 /railties/lib | |
parent | 48fef64cb5d38b2ac81a483bb0fad89c2134dcdc (diff) | |
download | rails-ac8f9276f5a5e8dea5d68c20daf5f5a69a299b88.tar.gz rails-ac8f9276f5a5e8dea5d68c20daf5f5a69a299b88.tar.bz2 rails-ac8f9276f5a5e8dea5d68c20daf5f5a69a299b88.zip |
We don't need gem tasks, we have a gemspec
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/plugin_new/templates/Rakefile | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/railties/lib/rails/generators/rails/plugin_new/templates/Rakefile b/railties/lib/rails/generators/rails/plugin_new/templates/Rakefile index af5f672396..3c53b677a0 100644 --- a/railties/lib/rails/generators/rails/plugin_new/templates/Rakefile +++ b/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 |