aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--railties/Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/Rakefile b/railties/Rakefile
index ad799cd0f0..f85f3e2667 100644
--- a/railties/Rakefile
+++ b/railties/Rakefile
@@ -83,7 +83,7 @@ end
# Make directory structure ----------------------------------------------------------------
-def make_dest_dirs(dirs, path = nil)
+def make_dest_dirs(dirs, path = '.')
mkdir_p dirs.map { |dir| File.join(PKG_DESTINATION, path.to_s, dir) }
end
@@ -317,4 +317,4 @@ task :release => [ :gem ] do
release_command = "rubyforge add_release #{PKG_NAME} #{PKG_NAME} 'REL #{PKG_VERSION}' pkg/#{PKG_NAME}-#{PKG_VERSION}.gem"
puts release_command
system(release_command)
-end \ No newline at end of file
+end