diff options
author | Carl Lerche <carllerche@mac.com> | 2009-09-01 12:19:09 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2009-09-01 12:19:09 -0700 |
commit | 016b1d3596ce12367edac8bb442f5c630a453ecf (patch) | |
tree | 49435918ebb372f617c3cc95bc495f6dd5c12d24 /railties/Rakefile | |
parent | 22d5e3d89d619acb9179dfcdd33f1afaee9567ca (diff) | |
parent | da636809daca9c338200811d3590e446f57c8e81 (diff) | |
download | rails-016b1d3596ce12367edac8bb442f5c630a453ecf.tar.gz rails-016b1d3596ce12367edac8bb442f5c630a453ecf.tar.bz2 rails-016b1d3596ce12367edac8bb442f5c630a453ecf.zip |
Merge branch 'master' of git@github.com:rails/rails
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 aa5b3a1132..6ebb11dbb5 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" |