<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=Redmine%2Frake</id>
	<title>Redmine/rake - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=Redmine%2Frake"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=Redmine/rake&amp;action=history"/>
	<updated>2026-06-28T01:47:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://htyp.org/mw/index.php?title=Redmine/rake&amp;diff=21812&amp;oldid=prev</id>
		<title>Woozle: rake usage</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=Redmine/rake&amp;diff=21812&amp;oldid=prev"/>
		<updated>2016-05-16T21:09:57Z</updated>

		<summary type="html">&lt;p&gt;rake usage&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;rake&amp;#039;&amp;#039;&amp;#039; appears to be a [[Ruby on Rails]] command. The following list of commands came up when I typed &amp;lt;code&amp;gt;rake redmine:plugins:migrate RAILS_ENV=production -T&amp;lt;/code&amp;gt;; I&amp;#039;m not sure how it is actually supposed to be invoked:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rake about                                       # List versions of all Rails frameworks and the environment&lt;br /&gt;
rake assets:clean                                # Remove compiled assets&lt;br /&gt;
rake assets:precompile                           # Compile all the assets named in config.assets.precompile&lt;br /&gt;
rake ci                                          # Run the Continous Integration tests for Redmine&lt;br /&gt;
rake ci:build                                    # Build Redmine&lt;br /&gt;
rake ci:setup                                    # Setup Redmine for a new build&lt;br /&gt;
rake ci:teardown                                 # Finish the build&lt;br /&gt;
rake config/database.yml                         # Creates database.yml for the CI server&lt;br /&gt;
rake db:create                                   # Create the database from DATABASE_URL or config/database.yml for the current Rails.env (use db:create:all to create all dbs in the config)&lt;br /&gt;
rake db:decrypt                                  # Decrypts SCM and LDAP passwords in the database.&lt;br /&gt;
rake db:drop                                     # Drops the database using DATABASE_URL or the current Rails.env (use db:drop:all to drop all databases)&lt;br /&gt;
rake db:encrypt                                  # Encrypts SCM and LDAP passwords in the database.&lt;br /&gt;
rake db:fixtures:load                            # Load fixtures into the current environment&amp;#039;s database.&lt;br /&gt;
rake db:migrate                                  # Migrate the database (options: VERSION=x, VERBOSE=false).&lt;br /&gt;
rake db:migrate:status                           # Display status of migrations&lt;br /&gt;
rake db:rollback                                 # Rolls the schema back to the previous version (specify steps w/ STEP=n).&lt;br /&gt;
rake db:schema:dump                              # Create a db/schema.rb file that can be portably used against any DB supported by AR&lt;br /&gt;
rake db:schema:load                              # Load a schema.rb file into the database&lt;br /&gt;
rake db:seed                                     # Load the seed data from db/seeds.rb&lt;br /&gt;
rake db:setup                                    # Create the database, load the schema, and initialize with the seed data (use db:reset to also drop the db first)&lt;br /&gt;
rake db:structure:dump                           # Dump the database structure to db/structure.sql. Specify another file with DB_STRUCTURE=db/my_structure.sql&lt;br /&gt;
rake db:version                                  # Retrieves the current schema version number&lt;br /&gt;
rake doc:app                                     # Generate docs for the app -- also available doc:rails, doc:guides, doc:plugins (options: TEMPLATE=/rdoc-template.rb, TITLE=&amp;quot;Custom Title&amp;quot;)&lt;br /&gt;
rake extract_fixtures                            # Create YAML test fixtures from data in an existing database.&lt;br /&gt;
rake generate_secret_token                       # Generates a secret token for the application.&lt;br /&gt;
rake locales                                     # Updates and checks locales against en.yml&lt;br /&gt;
rake locales:add_key                             # Adds a new top-level translation string to all locale file (only works for childless keys, probably doesn&amp;#039;t work on windows, doesn&amp;#039;t check f...&lt;br /&gt;
rake locales:check_interpolation                 # Checks interpolation arguments in locals against en.yml&lt;br /&gt;
rake locales:check_parsing_by_psych              # Check parsing yaml by psych library on Ruby 1.9.&lt;br /&gt;
rake locales:dup                                 # Duplicates a key.&lt;br /&gt;
rake locales:remove_key                          # Removes a translation string from all locale file (only works for top-level childless non-multiline keys, probably doesn&amp;#039;t work on windows).&lt;br /&gt;
rake locales:update                              # Updates language files based on en.yml content (only works for new top level keys).&lt;br /&gt;
rake log:clear                                   # Truncates all *.log files in log/ to zero bytes&lt;br /&gt;
rake middleware                                  # Prints out your Rack middleware stack&lt;br /&gt;
rake notes                                       # Enumerate all annotations (use notes:optimize, :fixme, :todo for focus)&lt;br /&gt;
rake notes:custom                                # Enumerate a custom annotation, specify with ANNOTATION=CUSTOM&lt;br /&gt;
rake rails:template                              # Applies the template supplied by LOCATION=(/path/to/template) or URL&lt;br /&gt;
rake rails:update                                # Update configs and some other initially generated files (or use just update:configs, update:scripts, or update:application_controller)&lt;br /&gt;
rake redmine:attachments:move_to_subdirectories  # Moves attachments stored at the root of the file directory (ie.&lt;br /&gt;
rake redmine:attachments:prune                   # Removes uploaded files left unattached after one day.&lt;br /&gt;
rake redmine:email:read                          # Read an email from standard input.&lt;br /&gt;
rake redmine:email:receive_imap                  # Read emails from an IMAP server.&lt;br /&gt;
rake redmine:email:receive_pop3                  # Read emails from an POP3 server.&lt;br /&gt;
rake redmine:email:test[login]                   # Send a test email to the user with the provided login name&lt;br /&gt;
rake redmine:fetch_changesets                    # Fetch changesets from the repositories&lt;br /&gt;
rake redmine:load_default_data                   # Load Redmine default configuration data.&lt;br /&gt;
rake redmine:migrate_from_mantis                 # Mantis migration script&lt;br /&gt;
rake redmine:migrate_from_trac                   # Trac migration script&lt;br /&gt;
rake redmine:permissions                         # List all permissions and the actions registered with them&lt;br /&gt;
rake redmine:plugins                             # Migrates and copies plugins assets.&lt;br /&gt;
rake redmine:plugins:assets                      # Copies plugins assets into the public directory.&lt;br /&gt;
rake redmine:plugins:migrate                     # Migrates installed plugins.&lt;br /&gt;
rake redmine:plugins:test                        # Runs the plugins tests.&lt;br /&gt;
rake redmine:plugins:test:functionals            # Run tests for {:functionals=&amp;gt;&amp;quot;db:test:prepare&amp;quot;}&lt;br /&gt;
rake redmine:plugins:test:integration            # Run tests for {:integration=&amp;gt;&amp;quot;db:test:prepare&amp;quot;}&lt;br /&gt;
rake redmine:plugins:test:units                  # Run tests for {:units=&amp;gt;&amp;quot;db:test:prepare&amp;quot;}&lt;br /&gt;
rake redmine:send_reminders                      # Send reminders about issues due in the next days.&lt;br /&gt;
rake redmine:tokens:prune                        # Removes expired tokens.&lt;br /&gt;
rake redmine:watchers:prune                      # Removes watchers from what they can no longer view.&lt;br /&gt;
rake routes                                      # Print out all defined routes in match order, with names.&lt;br /&gt;
rake secret                                      # Generate a cryptographically secure secret key (this is typically used to generate a secret for cookie sessions).&lt;br /&gt;
rake stats                                       # Report code statistics (KLOCs, etc) from the application&lt;br /&gt;
rake test                                        # Runs test:units, test:functionals, test:integration together (also available: test:benchmark, test:profile, test:plugins)&lt;br /&gt;
rake test:coverage                               # Measures test coverage&lt;br /&gt;
rake test:rdm_routing                            # Run tests for rdm_routing / Run the routing tests&lt;br /&gt;
rake test:recent                                 # Run tests for {:recent=&amp;gt;&amp;quot;test:prepare&amp;quot;} / Test recent changes&lt;br /&gt;
rake test:scm                                    # Run unit and functional scm tests&lt;br /&gt;
rake test:scm:functionals                        # Run tests for {:functionals=&amp;gt;&amp;quot;db:test:prepare&amp;quot;} / Run the scm functional tests&lt;br /&gt;
rake test:scm:setup:all                          # Creates all test repositories&lt;br /&gt;
rake test:scm:setup:bazaar                       # Creates a test bazaar repository&lt;br /&gt;
rake test:scm:setup:create_dir                   # Creates directory for test repositories&lt;br /&gt;
rake test:scm:setup:cvs                          # Creates a test cvs repository&lt;br /&gt;
rake test:scm:setup:darcs                        # Creates a test darcs repository&lt;br /&gt;
rake test:scm:setup:filesystem                   # Creates a test filesystem repository&lt;br /&gt;
rake test:scm:setup:git                          # Creates a test git repository&lt;br /&gt;
rake test:scm:setup:mercurial                    # Creates a test mercurial repository&lt;br /&gt;
rake test:scm:setup:subversion                   # Creates a test subversion repository&lt;br /&gt;
rake test:scm:units                              # Run tests for {:units=&amp;gt;&amp;quot;db:test:prepare&amp;quot;} / Run the scm unit tests&lt;br /&gt;
rake test:scm:update                             # Updates installed test repositories&lt;br /&gt;
rake test:single                                 # Run tests for {:single=&amp;gt;&amp;quot;test:prepare&amp;quot;}&lt;br /&gt;
rake test:ui                                     # Run tests for {:ui=&amp;gt;&amp;quot;db:test:prepare&amp;quot;} / Run the UI tests with Capybara (PhantomJS listening on port 4444 is required)&lt;br /&gt;
rake test:uncommitted                            # Run tests for {:uncommitted=&amp;gt;&amp;quot;test:prepare&amp;quot;} / Test changes since last checkin (only Subversion and Git)&lt;br /&gt;
rake time:zones:all                              # Displays all time zones, also available: time:zones:us, time:zones:local -- filter with OFFSET parameter, e.g., OFFSET=-6&lt;br /&gt;
rake tmp:clear                                   # Clear session, cache, and socket files from tmp/ (narrow w/ tmp:sessions:clear, tmp:cache:clear, tmp:sockets:clear)&lt;br /&gt;
rake tmp:create                                  # Creates tmp directories for sessions, cache, sockets, and pids&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More general help for rake (from &amp;lt;code&amp;gt;rake -h&amp;lt;/code&amp;gt;):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rake [-f rakefile] {options} targets...&lt;br /&gt;
&lt;br /&gt;
Options are ...&lt;br /&gt;
        --backtrace=[OUT]            Enable full backtrace.  OUT can be stderr (default) or stdout.&lt;br /&gt;
        --comments                   Show commented tasks only&lt;br /&gt;
        --job-stats [LEVEL]          Display job statistics. LEVEL=history displays a complete job list&lt;br /&gt;
        --rules                      Trace the rules resolution.&lt;br /&gt;
        --suppress-backtrace PATTERN Suppress backtrace lines matching regexp PATTERN. Ignored if --trace is on.&lt;br /&gt;
    -A, --all                        Show all tasks, even uncommented ones&lt;br /&gt;
    -D, --describe [PATTERN]         Describe the tasks (matching optional PATTERN), then exit.&lt;br /&gt;
    -e, --execute CODE               Execute some Ruby code and exit.&lt;br /&gt;
    -E, --execute-continue CODE      Execute some Ruby code, then continue with normal task processing.&lt;br /&gt;
    -f, --rakefile [FILE]            Use FILE as the rakefile.&lt;br /&gt;
    -G, --no-system, --nosystem      Use standard project Rakefile search paths, ignore system wide rakefiles.&lt;br /&gt;
    -g, --system                     Using system wide (global) rakefiles (usually &amp;#039;~/.rake/*.rake&amp;#039;).&lt;br /&gt;
    -I, --libdir LIBDIR              Include LIBDIR in the search path for required modules.&lt;br /&gt;
    -j, --jobs [NUMBER]              Specifies the maximum number of tasks to execute in parallel. (default:2)&lt;br /&gt;
    -m, --multitask                  Treat all tasks as multitasks.&lt;br /&gt;
    -n, --dry-run                    Do a dry run without executing actions.&lt;br /&gt;
    -N, --no-search, --nosearch      Do not search parent directories for the Rakefile.&lt;br /&gt;
    -P, --prereqs                    Display the tasks and dependencies, then exit.&lt;br /&gt;
    -p, --execute-print CODE         Execute some Ruby code, print the result, then exit.&lt;br /&gt;
    -q, --quiet                      Do not log messages to standard output.&lt;br /&gt;
    -r, --require MODULE             Require MODULE before executing rakefile.&lt;br /&gt;
    -R, --rakelibdir RAKELIBDIR,     Auto-import any .rake files in RAKELIBDIR. (default is &amp;#039;rakelib&amp;#039;)&lt;br /&gt;
        --rakelib&lt;br /&gt;
    -s, --silent                     Like --quiet, but also suppresses the &amp;#039;in directory&amp;#039; announcement.&lt;br /&gt;
    -t, --trace=[OUT]                Turn on invoke/execute tracing, enable full backtrace. OUT can be stderr (default) or stdout.&lt;br /&gt;
    -T, --tasks [PATTERN]            Display the tasks (matching optional PATTERN) with descriptions, then exit.&lt;br /&gt;
    -v, --verbose                    Log message to standard output.&lt;br /&gt;
    -V, --version                    Display the program version.&lt;br /&gt;
    -W, --where [PATTERN]            Describe the tasks (matching optional PATTERN), then exit.&lt;br /&gt;
    -X, --no-deprecation-warnings    Disable the deprecation warnings.&lt;br /&gt;
    -h, -H, --help                   Display this help message.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
</feed>