diff options
Diffstat (limited to 'activemodel/Rakefile')
-rwxr-xr-x | activemodel/Rakefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activemodel/Rakefile b/activemodel/Rakefile index 14653a71c6..dcd1eaa444 100755 --- a/activemodel/Rakefile +++ b/activemodel/Rakefile @@ -67,3 +67,9 @@ Rake::GemPackageTask.new(spec) do |p| p.need_tar = true 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
\ No newline at end of file |