aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/Rakefile')
-rw-r--r--activesupport/Rakefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/activesupport/Rakefile b/activesupport/Rakefile
index 238594debb..539ce2720e 100644
--- a/activesupport/Rakefile
+++ b/activesupport/Rakefile
@@ -68,6 +68,12 @@ Rake::GemPackageTask.new(spec) do |p|
p.need_zip = true
end
+task :gemspec do
+ File.open(File.join(File.dirname(__FILE__), "#{spec.name}.gemspec"), "w") do |file|
+ file.puts spec.to_ruby
+ end
+end
+
desc "Publish the beta gem"
task :pgem => [:package] do
require 'rake/contrib/sshpublisher'