Take the 2-minute tour ×  When I try to use tab completion with
rake, only files are suggested:  $ rails test-app | grep -v
create; cd test-app $ rake <TAB><TAB> app/      db/       lib/
public/   README    test/     vendor/    config/   doc/
log/      Rakefile  script/   tmp/      The package rake-0.8.7-2
includes a Bash completion configuration file,  $ debsums -e
rake /etc/bash_completion.d/rake
OK  so I expect that pressing tab should suggest the tasks
available to rake:  $ rake --tasks (in ~/sandbox/test-app) rake
db:abort_if_pending_migrations       # Raises an error if there
are pending migrations rake db:charset
# Retrieves the charset for the current environment's database
rake db:collation                         # Retrieves the
collation for the current environment's database rake db:create
# Create the database defined in config/database.yml for the
current RAIL... rake db:drop