HOWTO generate the skeleton of rails

NEED help:
My group are working on rails IDE and we’re in the wizard part now and
we’re trying to generate the Rails skeleton and we looked in the
rubygems and found in
gems/1.8/gems/rails-1.2.2/lib/rails_generator/generators/applications/app/app_generator.rb
what does it do, does it generates rails skeleton?
plz email me at [email protected]