Skip to content

Commit

Permalink
Use expand_path for app_name so, e.g., rails . is supported
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2644 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jeremy committed Oct 16, 2005
1 parent 876e660 commit 4c4651a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -32,7 +32,7 @@ def manifest
m.template "helpers/test_helper.rb", "test/test_helper.rb"

# database.yml and .htaccess
m.template "configs/database.yml", "config/database.yml", :assigns => { :app_name => File.basename(@destination_root) }
m.template "configs/database.yml", "config/database.yml", :assigns => { :app_name => File.basename(File.expand_path(@destination_root)) }
m.template "configs/routes.rb", "config/routes.rb"
m.template "configs/apache.conf", "public/.htaccess"

Expand Down

0 comments on commit 4c4651a

Please sign in to comment.