From: itsme213 Date: 2005-11-15T02:17:16+09:00 Subject: Re: rake : rakefile vs. rakefile.rb "Jim Weirich" wrote in message news:200510310026.32133.jim@weirichhouse.org... > On Saturday 29 October 2005 06:27 pm, itsme213 wrote: >> Why does rake not recognize "rakefile.rb" as a default rakefile? I just >> had >> to change the file name to just "rakefile" to get it to work (which >> messes >> up editors etc. that look for ".rb" extensions). > > Seems to work for me. > > $ ls > rakefile.rb > $ cat rakefile.rb > task :default do > puts "Running rakefile.rb" > end > $ rake > (in /home/jim/pgm/rake/dotrb) > Running rakefile.rb > $ It's a bit more peculiar than I thought. If I am in a directory with rakefile then rake finds that file just fine. However, if I am in a directory with rakefile.rb then rake finds a different (entirely unrelated) rakefile.rb from an entirely unrelated directory (not a parent or child dir). This is Win-XP. I am confused!