RallyApps/AppTemplate — pull request #13 by curmudgeon-rally (2012-12-20 19:47:51+00:00)
Title: Fix Problem with mkdir

After upgrading my ruby & rake, the app template stopped working on a build, failing at making the deploy directory. This change adds Dir before mkdir and now I don't get this error any more:

jmartin-mbp:AppTemplate jmartin$ rake build
Building App...
rake aborted!
undefined method `mkdir' for #
/Users/jmartin/views/rally/git/sdk2/github/rally/AppTemplate/Rakefile:568:in `assure_deploy_directory_exists'
/Users/jmartin/views/rally/git/sdk2/github/rally/AppTemplate/Rakefile:537:in `build_app_html'
/Users/jmartin/views/rally/git/sdk2/github/rally/AppTemplate/Rakefile:31:in `block in '
/Users/jmartin/.rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:14:in `eval'
/Users/jmartin/.rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:14:in `

'
Tasks: TOP => build
(See full trace by running task with --trace)