Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2011
1,502
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 7.31 KB | None | 0 0
  1. kmo@ ~/Dropbox/srv/git/okinfo [master] $ rake -T
  2. (in /home/kmo/Dropbox/srv/git/okinfo)
  3. rake about                                   # List versions of all Rails frameworks and the environment
  4. rake app:geo:update_all                      # Update company_addresses coordinates
  5. rake app:notice:weekly_for_company           # Weekly newsletter
  6. rake db:create                               # Create the database from config/database.yml for the current Rails.env (use db:create:all to create all dbs in the config)
  7. rake db:drop                                 # Drops the database for the current Rails.env (use db:drop:all to drop all databases)
  8. rake db:fixtures:load                        # Load fixtures into the current environment's database.
  9. rake db:migrate                              # Migrate the database (options: VERSION=x, VERBOSE=false).
  10. rake db:migrate:status                       # Display status of migrations
  11. rake db:rollback                             # Rolls the schema back to the previous version (specify steps w/ STEP=n).
  12. rake db:schema:dump                          # Create a db/schema.rb file that can be portably used against any DB supported by AR
  13. rake db:schema:load                          # Load a schema.rb file into the database
  14. rake db:seed                                 # Load the seed data from db/seeds.rb
  15. rake db:setup                                # Create the database, load the schema, and initialize with the seed data (use db:reset to also drop the db first)
  16. rake db:structure:dump                       # Dump the database structure to an SQL file
  17. rake db:version                              # Retrieves the current schema version number
  18. rake doc:app                                 # Generate docs for the app -- also availble doc:rails, doc:guides, doc:plugins (options: TEMPLATE=/rdoc-template.rb, TITLE="Custom Title")
  19. rake hoptoad:deploy                          # Notify Hoptoad of a new deploy.
  20. rake hoptoad:heroku:add_deploy_notification  # Install Heroku deploy notifications addon
  21. rake hoptoad:test                            # Verify your gem installation by sending a test exception to the hoptoad service
  22. rake log:clear                               # Truncates all *.log files in log/ to zero bytes
  23. rake middleware                              # Prints out your Rack middleware stack
  24. rake notes                                   # Enumerate all annotations (use notes:optimize, :fixme, :todo for focus)
  25. rake notes:custom                            # Enumerate a custom annotation, specify with ANNOTATION=CUSTOM
  26. rake paperclip:clean                         # Cleans out invalid attachments.
  27. rake paperclip:refresh                       # Refreshes both metadata and thumbnails.
  28. rake paperclip:refresh:metadata              # Regenerates content_type/size metadata for a given CLASS (and optional ATTACHMENT).
  29. rake paperclip:refresh:thumbnails            # Regenerates thumbnails for a given CLASS (and optional ATTACHMENT).
  30. rake rails:template                          # Applies the template supplied by LOCATION=/path/to/template
  31. rake rails:update                            # Update both configs and public/javascripts from Rails (or use just update:javascripts or update:configs)
  32. rake routes                                  # Print out all defined routes in match order, with names.
  33. rake secret                                  # Generate a cryptographically secure secret key (this is typically used to generate a secret for cookie sessions).
  34. rake spec                                    # Run all specs in spec directory (excluding plugin specs)
  35. rake spec:controllers                        # Run the code examples in spec/controllers
  36. rake spec:helpers                            # Run the code examples in spec/helpers
  37. rake spec:lib                                # Run the code examples in spec/lib
  38. rake spec:mailers                            # Run the code examples in spec/mailers
  39. rake spec:models                             # Run the code examples in spec/models
  40. rake spec:rcov                               # Run all specs with rcov
  41. rake spec:requests                           # Run the code examples in spec/requests
  42. rake spec:routing                            # Run the code examples in spec/routing
  43. rake spec:views                              # Run the code examples in spec/views
  44. rake state_machine:draw                      # Draws a set of state machines using GraphViz.
  45. rake stats                                   # Report code statistics (KLOCs, etc) from the application
  46. rake test                                    # Runs test:units, test:functionals, test:integration together (also available: test:benchmark, test:profile, test:plugins)
  47. rake test:recent                             # Run tests for recenttest:prepare / Test recent changes
  48. rake test:uncommitted                        # Run tests for uncommittedtest:prepare / Test changes since last checkin (only Subversion and Git)
  49. rake thinking_sphinx:configure               # Generate the Sphinx configuration file using Thinking Sphinx's settings
  50. rake thinking_sphinx:index                   # Index data for Sphinx using Thinking Sphinx's settings
  51. rake thinking_sphinx:rebuild                 # Stop Sphinx (if it's running), rebuild the indexes, and start Sphinx
  52. rake thinking_sphinx:reindex                 # Reindex Sphinx without regenerating the configuration file
  53. rake thinking_sphinx:restart                 # Restart Sphinx
  54. rake thinking_sphinx:running_start           # Stop if running, then start a Sphinx searchd daemon using Thinking Sphinx's settings
  55. rake thinking_sphinx:start                   # Start a Sphinx searchd daemon using Thinking Sphinx's settings
  56. rake thinking_sphinx:stop                    # Stop Sphinx using Thinking Sphinx's settings
  57. rake thinking_sphinx:version                 # Output the current Thinking Sphinx version
  58. rake time:zones:all                          # Displays all time zones, also available: time:zones:us, time:zones:local -- filter with OFFSET parameter, e.g., OFFSET=-6
  59. rake tmp:clear                               # Clear session, cache, and socket files from tmp/ (narrow w/ tmp:sessions:clear, tmp:cache:clear, tmp:sockets:clear)
  60. rake tmp:create                              # Creates tmp directories for sessions, cache, sockets, and pids
  61. rake ts:conf                                 # Generate the Sphinx configuration file using Thinking Sphinx's settings
  62. rake ts:config                               # Generate the Sphinx configuration file using Thinking Sphinx's settings
  63. rake ts:in                                   # Index data for Sphinx using Thinking Sphinx's settings
  64. rake ts:rebuild                              # Stop Sphinx (if it's running), rebuild the indexes, and start Sphinx
  65. rake ts:reindex                              # Reindex Sphinx without regenerating the configuration file
  66. rake ts:restart                              # Restart Sphinx
  67. rake ts:run                                  # Stop if running, then start a Sphinx searchd daemon using Thinking Sphinx's settings
  68. rake ts:start                                # Start a Sphinx searchd daemon using Thinking Sphinx's settings
  69. rake ts:stop                                 # Stop Sphinx using Thinking Sphinx's settings
  70. rake ts:version                              # Output the current Thinking Sphinx version
  71. rake utf8_encode_headers                     # Manage the encoding header of Ruby files
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement