GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Fork of rails/rails
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/ddollar/rails.git
Make release rake work on 1.8.4

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4077 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
dhh (author)
Mon Mar 27 18:10:51 -0800 2006
commit  3e734490c6b3cfa049ec95caa4b8e0bf745976fd
tree    040ec784b6f69d58653e36115e47d07cafc0645f
parent  b55fc9e85aa79ca4c9ad1aef74b5d1a87aab87bb
...
84
85
86
87
 
88
89
90
...
163
164
165
166
 
167
168
169
...
84
85
86
 
87
88
89
90
...
163
164
165
 
166
167
168
169
0
@@ -84,7 +84,7 @@ end
0
 # Make directory structure ----------------------------------------------------------------
0
 
0
 def make_dest_dirs(dirs, path = nil)
0
- mkdir_p dirs.map { |dir| File.join(PKG_DESTINATION, path, dir) }
0
+ mkdir_p dirs.map { |dir| File.join(PKG_DESTINATION, path.to_s, dir) }
0
 end
0
 
0
 desc "Make the directory structure for the new Rails application"
0
@@ -163,7 +163,7 @@ task :copy_configs do
0
   app_name = "rails"
0
   socket = nil
0
   require 'erb'
0
- File.open("#{PKG_DESTINATION}/config/database.yml", 'w') {|f| f.write ERB.new(IO.read("configs/database.yml"), nil, '-').result(binding)}
0
+ File.open("#{PKG_DESTINATION}/config/database.yml", 'w') {|f| f.write ERB.new(IO.read("configs/databases/mysql.yml"), nil, '-').result(binding)}
0
   
0
   cp "configs/routes.rb", "#{PKG_DESTINATION}/config/routes.rb"
0
 

Comments

    No one has commented yet.