Permalink
Browse files

Make release rake work on 1.8.4

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4077 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent b55fc9e commit 3e734490c6b3cfa049ec95caa4b8e0bf745976fd @dhh dhh committed Mar 28, 2006
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/Rakefile
View
@@ -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"

0 comments on commit 3e73449

Please sign in to comment.