diff options
author | Yehuda Katz <wycats@gmail.com> | 2009-08-31 17:20:44 -0700 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-08-31 17:20:44 -0700 |
commit | 67f5d611f5735a6444314ae1819938e63f0d174b (patch) | |
tree | 72f82c9aa62b0a4305f061277478103465eb633b /railties/Rakefile | |
parent | 66d713fc8f62e270ac21f6c413d6527fbf30dc52 (diff) | |
download | rails-67f5d611f5735a6444314ae1819938e63f0d174b.tar.gz rails-67f5d611f5735a6444314ae1819938e63f0d174b.tar.bz2 rails-67f5d611f5735a6444314ae1819938e63f0d174b.zip |
Add rake gemspec and gemspecs to the repo
Diffstat (limited to 'railties/Rakefile')
-rw-r--r-- | railties/Rakefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/railties/Rakefile b/railties/Rakefile index 3212bf3a4f..33c7a0d89a 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -181,6 +181,12 @@ Rake::GemPackageTask.new(spec) do |pkg| pkg.gem_spec = spec end +task :gemspec do + File.open(File.join(File.dirname(__FILE__), "#{spec.name}.gemspec"), "w") do |file| + file.puts spec.to_ruby + end +end + # Publishing ------------------------------------------------------- desc "Publish the rails gem" |