Skip to content

Instantly share code, notes, and snippets.

@woods
Created May 19, 2010 17:44
Show Gist options
  • Save woods/406596 to your computer and use it in GitHub Desktop.
Save woods/406596 to your computer and use it in GitHub Desktop.
$ rake -T
(in /Users/woods/src/git/vendor/skyline)
rake doc:generate # Generate YARD Documentation
rake gem:build # Build gem
rake gem:check_dependencies # Check that runtime and development dependencies are installed
rake gem:check_dependencies:development # Check that development dependencies are installed
rake gem:check_dependencies:runtime # Check that runtime dependencies are installed
rake gem:gemspec # Generate and validates gemspec
rake gem:gemspec:debug # Display the gemspec for debugging purposes
rake gem:gemspec:generate # Generates the gemspec, using version from VERSION
rake gem:gemspec:validate # Validates the gemspec
rake gem:git:release # Tag a release in Git
rake gem:github:release # Release Gem to GitHub
rake gem:install # Install gem using sudo
rake gem:release # Release gem
rake gem:version # Displays the current version
$ rake test
(in /Users/woods/src/git/vendor/skyline)
$ ls -l test/
total 24
-rwxr-xr-x 1 woods woods 637 May 19 09:59 factories.rb
drwxr-xr-x 4 woods woods 136 May 19 09:59 integration
drwxr-xr-x 4 woods woods 136 May 19 09:59 mocks
-rw-r--r-- 1 woods woods 2444 May 19 09:59 test_helper.rb
drwxr-xr-x 8 woods woods 272 May 19 09:59 unit
-rwxr-xr-x 1 woods woods 973 May 19 09:59 user_access_helper.rb
$ ls -l test/unit/
total 80
-rwxr-xr-x 1 woods woods 5199 May 19 09:59 inline_ref_test.rb
-rwxr-xr-x 1 woods woods 2486 May 19 09:59 locales_test.rb
-rwxr-xr-x 1 woods woods 7959 May 19 09:59 page_test.rb
-rwxr-xr-x 1 woods woods 2075 May 19 09:59 test_content_object_test.rb
-rwxr-xr-x 1 woods woods 9407 May 19 09:59 test_section_test.rb
-rwxr-xr-x 1 woods woods 2295 May 19 09:59 user_test.rb
$ ruby test/unit/page_test.rb
test/unit/page_test.rb:1:in `require': no such file to load -- test_helper (LoadError)
from test/unit/page_test.rb:1
$ ruby -rtest/test_helper test/unit/page_test.rb
./test/test_helper.rb:3:in `require': no such file to load -- /Users/woods/src/config/environment.rb (LoadError)
from ./test/test_helper.rb:3
$ cd test/
$ ruby -rtest_helper unit/page_test.rb
./test_helper.rb:3:in `require': no such file to load -- /Users/woods/src/config/environment.rb (LoadError)
from ./test_helper.rb:3
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment