aboutsummaryrefslogtreecommitdiffstats
path: root/railties/Rakefile
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2008-03-29 18:45:39 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2008-03-29 18:45:39 +0000
commit3e73278020107ea7282c45001d82e90d23a708b4 (patch)
treea725371edff1f1eac33259370495a8f76aeb2480 /railties/Rakefile
parente8170805df1a32119db9d328daee1239b338ac71 (diff)
downloadrails-3e73278020107ea7282c45001d82e90d23a708b4.tar.gz
rails-3e73278020107ea7282c45001d82e90d23a708b4.tar.bz2
rails-3e73278020107ea7282c45001d82e90d23a708b4.zip
Removed the default .htaccess configuration as there are so many good deployment options now (kept it as an example in README) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/Rakefile')
-rw-r--r--railties/Rakefile9
1 files changed, 0 insertions, 9 deletions
diff --git a/railties/Rakefile b/railties/Rakefile
index df87cd61a6..ef673c234e 100644
--- a/railties/Rakefile
+++ b/railties/Rakefile
@@ -160,7 +160,6 @@ end
# Copy Ties Content -----------------------------------------------------------------------
-# :link_apache_config
desc "Make copies of all the default content of ties"
task :copy_ties_content => [
:copy_rootfiles, :copy_dispatches, :copy_html_files, :copy_application,
@@ -197,8 +196,6 @@ task :copy_configs do
cp "configs/routes.rb", "#{PKG_DESTINATION}/config/routes.rb"
- cp "configs/apache.conf", "#{PKG_DESTINATION}/public/.htaccess"
-
cp "configs/initializers/inflections.rb", "#{PKG_DESTINATION}/config/initializers/inflections.rb"
cp "configs/initializers/mime_types.rb", "#{PKG_DESTINATION}/config/initializers/mime_types.rb"
@@ -231,12 +228,6 @@ task :copy_app_doc_readme do
cp "doc/README_FOR_APP", "#{PKG_DESTINATION}/doc/README_FOR_APP"
end
-task :link_apache_config do
- chdir(File.join(PKG_DESTINATION, 'config')) {
- ln_s "../public/.htaccess", "apache.conf"
- }
-end
-
def copy_with_rewritten_ruby_path(src_file, dest_file)
ruby = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name'])