no gitignore file in app after the "rails new app" command

Hi,

Im following this tutorial,

http://ruby.railstutorial.org/ruby-on-rails-tutorial-book#table:rails_directory_structure

but when trying to get pass 1.3.1 part im having trouble figuring out
why I can't see the gitignore file in my rails directory.

this what happens when I entered "gem list".

I (think) have everything installed.

eyal@eyal-laptop:~/rails_projects/ap$ gem list

*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (3.0.4, 3.0.0)
actionpack (3.0.4, 3.0.0)
activemodel (3.0.4, 3.0.0)
activerecord (3.0.4, 3.0.0)
activeresource (3.0.4, 3.0.0)
activesupport (3.0.4, 3.0.0)
arel (2.0.8, 1.0.1)
builder (2.1.2)
bundler (1.0.10, 1.0.0.rc.5)
erubis (2.6.6)
i18n (0.5.0, 0.4.2)
mail (2.2.15)
mime-types (1.16)
polyglot (0.3.1)
rack (1.2.1)
rack-mount (0.6.13)
rack-test (0.5.7)
rails (3.0.4, 3.0.0)
railties (3.0.4, 3.0.0)
rake (0.8.7)
rubygems-update (1.5.2)
sqlite3 (1.3.3)
sqlite3-ruby (1.3.3, 1.3.2)
thor (0.14.6)
treetop (1.4.9)
tzinfo (0.3.24)

and this what happens when I create a new rails application, and hit ls
after. Can anyone say why isn't there the gitignore file?

eyal@eyal-laptop:~/rails_projects$ rails new ap
      create
      create README
      create Rakefile
      create config.ru
      create .gitignore
      create Gemfile
      create app
      create app/controllers/application_controller.rb
      create app/helpers/application_helper.rb
      create app/mailers
      create app/models
      create app/views/layouts/application.html.erb
      create config
      create config/routes.rb
      create config/application.rb
      create config/environment.rb
      create config/environments
      create config/environments/development.rb
      create config/environments/production.rb
      create config/environments/test.rb
      create config/initializers
      create config/initializers/backtrace_silencers.rb
      create config/initializers/inflections.rb
      create config/initializers/mime_types.rb
      create config/initializers/secret_token.rb
      create config/initializers/session_store.rb
      create config/locales
      create config/locales/en.yml
      create config/boot.rb
      create config/database.yml
      create db
      create db/seeds.rb
      create doc
      create doc/README_FOR_APP
      create lib
      create lib/tasks
      create lib/tasks/.gitkeep
      create log
      create log/server.log
      create log/production.log
      create log/development.log
      create log/test.log
      create public
      create public/404.html
      create public/422.html
      create public/500.html
      create public/favicon.ico
      create public/index.html
      create public/robots.txt
      create public/images
      create public/images/rails.png
      create public/stylesheets
      create public/stylesheets/.gitkeep
      create public/javascripts
      create public/javascripts/application.js
      create public/javascripts/controls.js
      create public/javascripts/dragdrop.js
      create public/javascripts/effects.js
      create public/javascripts/prototype.js
      create public/javascripts/rails.js
      create script
      create script/rails
      create test
      create test/fixtures
      create test/functional
      create test/integration
      create test/performance/browsing_test.rb
      create test/test_helper.rb
      create test/unit
      create tmp
      create tmp/sessions
      create tmp/sockets
      create tmp/cache
      create tmp/pids
      create vendor/plugins
      create vendor/plugins/.gitkeep
eyal@eyal-laptop:~/rails_projects$ cd ap
eyal@eyal-laptop:~/rails_projects/ap$ ls
app config.ru doc lib public README test vendor
config db Gemfile log Rakefile script tmp

Thanks in advance..

.gitignore is a hidden file (it has a leading dot). To see it type
ls -a
or if you are using graphic file manager you can show hidden files.
In Nautilus this is ctrl h

Colin