------art_11776_22041723.1206438873585
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

try:
rake utils:create_directories

On Tue, Mar 25, 2008 at 3:30 PM, Thufir <hawat.thufir / gmail.com> wrote:

> How is this rakefile invoked?
>
> C:\code>
> C:\code>rake
> (in C:/code)
> rake aborted!
> Don't know how to build task 'default'
>
> (See full trace by running task with --trace)
>
> C:\code>
> C:\code>type rakefile.rb
> alias :original_directory :directory
> def directory(dir)
>   original_directory dir
>   Rake::Task[dir]
> end
>
>
> namespace :utils do
>   task :create_directories [
>      directory('public/icons'),
>      directory('public/images'),
>      directory('public/groups'),
>   ]
> end
> C:\code>
>
> from:
> http://www.railsenvy.com/2007/6/11/ruby-on-rails-rake-tutorial
>
> thanks,
>
> Thufir
>
>

------art_11776_22041723.1206438873585--