aboutsummaryrefslogtreecommitdiffstats
path: root/railties/Rakefile
diff options
context:
space:
mode:
authorCarlhuda <carlhuda@Carlhudas-iMac.local>2009-11-30 16:46:09 -0800
committerCarlhuda <carlhuda@engineyard.com>2009-12-02 11:35:47 -0800
commit8ff310aef4e7ed424429059d10e3af0f169323fb (patch)
tree88e27c97d9e3adbc91c875f372bbcd0b01fa122d /railties/Rakefile
parentabfc4dad3ebb17eccd32d1f1eb8a3e9c0f6e6e4e (diff)
downloadrails-8ff310aef4e7ed424429059d10e3af0f169323fb.tar.gz
rails-8ff310aef4e7ed424429059d10e3af0f169323fb.tar.bz2
rails-8ff310aef4e7ed424429059d10e3af0f169323fb.zip
Break up rails and railties:
* rails is now a metagem (gem install rails works as it does now) * railties includes the glue layer, so you can easily declare dependencies on railties, actionpack, and actionmailer and not get ActiveRecord's rake tasks, initializers, etc.
Diffstat (limited to 'railties/Rakefile')
-rw-r--r--railties/Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/Rakefile b/railties/Rakefile
index e6f698fc74..cb482c90bf 100644
--- a/railties/Rakefile
+++ b/railties/Rakefile
@@ -10,7 +10,7 @@ $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/lib"
require 'rails/version'
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
-PKG_NAME = ENV['PKG_NAME'] || 'rails'
+PKG_NAME = ENV['PKG_NAME'] || 'railties'
PKG_VERSION = Rails::VERSION::STRING + PKG_BUILD
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}"
@@ -141,7 +141,7 @@ Rake::RDocTask.new { |rdoc|
# Generate GEM ----------------------------------------------------------------------------
-spec = eval(File.read('rails.gemspec'))
+spec = eval(File.read('railties.gemspec'))
Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec