diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-28 02:10:51 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-28 02:10:51 +0000 |
commit | 3e734490c6b3cfa049ec95caa4b8e0bf745976fd (patch) | |
tree | 040ec784b6f69d58653e36115e47d07cafc0645f /railties | |
parent | b55fc9e85aa79ca4c9ad1aef74b5d1a87aab87bb (diff) | |
download | rails-3e734490c6b3cfa049ec95caa4b8e0bf745976fd.tar.gz rails-3e734490c6b3cfa049ec95caa4b8e0bf745976fd.tar.bz2 rails-3e734490c6b3cfa049ec95caa4b8e0bf745976fd.zip |
Make release rake work on 1.8.4
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4077 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rw-r--r-- | railties/Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/Rakefile b/railties/Rakefile index 8ac67c48cd..88454a5265 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -84,7 +84,7 @@ end # Make directory structure ---------------------------------------------------------------- def make_dest_dirs(dirs, path = nil) - mkdir_p dirs.map { |dir| File.join(PKG_DESTINATION, path, dir) } + mkdir_p dirs.map { |dir| File.join(PKG_DESTINATION, path.to_s, dir) } end desc "Make the directory structure for the new Rails application" @@ -163,7 +163,7 @@ task :copy_configs do app_name = "rails" socket = nil require 'erb' - File.open("#{PKG_DESTINATION}/config/database.yml", 'w') {|f| f.write ERB.new(IO.read("configs/database.yml"), nil, '-').result(binding)} + File.open("#{PKG_DESTINATION}/config/database.yml", 'w') {|f| f.write ERB.new(IO.read("configs/databases/mysql.yml"), nil, '-').result(binding)} cp "configs/routes.rb", "#{PKG_DESTINATION}/config/routes.rb" |