Getcwd not found

Hi, new to Rails, running my first app.

I built a small data base, just a mini blog type thing and created a
scaffold for it. When I call the scaffold, I get an error saying the
application can't find getcwd. A copy of the error page is at:

I'm running on Mac OS X 10.5.3. Rails version 1.2.6, Ruby version

I looked in the Ruby documenation and the Rails documentation and
can't find a getcwd method.