Skip to content

Instantly share code, notes, and snippets.

@jamesgolick
Created July 9, 2009 17:46
Show Gist options
  • Save jamesgolick/143830 to your computer and use it in GitHub Desktop.
Save jamesgolick/143830 to your computer and use it in GitHub Desktop.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -I"/Users/james/Documents/code/paperclip/lib" -I"/Users/james/Documents/code/paperclip/lib" -I"/Users/james/Documents/code/paperclip/profile" "/Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader.rb" "test/attachment_test.rb" "test/geometry_test.rb" "test/integration_test.rb" "test/interpolations_test.rb" "test/iostream_test.rb" "test/matchers/have_attached_file_matcher_test.rb" "test/matchers/validate_attachment_content_type_matcher_test.rb" "test/matchers/validate_attachment_presence_matcher_test.rb" "test/matchers/validate_attachment_size_matcher_test.rb" "test/paperclip_test.rb" "test/processor_test.rb" "test/storage_test.rb" "test/thumbnail_test.rb"
(in /Users/james/Documents/code/paperclip)
./test/interpolations_test.rb:10: warning: parenthesize argument(s) for future version
Loaded suite /Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader
Started
....................................................................................................................................................................[DEPRECATION] validates_attachment_thumbnail is deprecated. This validation is on by default and will be removed from future versions. If you wish to turn it off, supply :whiny => false in your definition.
................................................................................................/test/storage_test.rb:28: warning: already initialized constant RAILS_ENV
./test/storage_test.rb:17: warning: already initialized constant RAILS_ENV
../test/storage_test.rb:21: warning: already initialized constant RAILS_ENV
./test/storage_test.rb:17: warning: already initialized constant RAILS_ENV
../test/storage_test.rb:35: warning: already initialized constant RAILS_ENV
./test/storage_test.rb:17: warning: already initialized constant RAILS_ENV
../test/storage_test.rb:108: warning: already initialized constant RAILS_ENV
./test/storage_test.rb:100: warning: already initialized constant RAILS_ENV
../test/storage_test.rb:103: warning: already initialized constant RAILS_ENV
./test/storage_test.rb:100: warning: already initialized constant RAILS_ENV
...EEEsh: gs: command not found
identify: Postscript delegate failed `./test/fixtures/twopage.pdf': No such file or directory @ coders/pdf.c/ReadPDFImage/592.
F................................
Finished in 14.385082 seconds.
1) Error:
test: A multipage PDF being thumbnailed at 100x100 with cropping should create the thumbnail when sent #make. (ThumbnailTest):
Paperclip::NotIdentifiedByImageMagickError: ./test/fixtures/twopage.pdf is not recognized by the 'identify' command.
/Users/james/Documents/code/paperclip/lib/paperclip/geometry.rb:24:in `from_file'
/Users/james/Documents/code/paperclip/lib/paperclip/thumbnail.rb:19:in `initialize'
./test/thumbnail_test.rb:159:in `new'
./test/thumbnail_test.rb:159:in `__bind_1247161570_151329'
/Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call'
/Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks'
/Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each'
/Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks'
/Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A multipage PDF being thumbnailed at 100x100 with cropping should create the thumbnail when sent #make. '
/Library/Ruby/Gems/1.8/gems/floehopper-mocha-0.9.5.20090201123802/lib/mocha/test_case_adapter.rb:69:in `__send__'
/Library/Ruby/Gems/1.8/gems/floehopper-mocha-0.9.5.20090201123802/lib/mocha/test_case_adapter.rb:69:in `run'
2) Error:
test: A multipage PDF being thumbnailed at 100x100 with cropping should report its correct current and target geometries. (ThumbnailTest):
Paperclip::NotIdentifiedByImageMagickError: ./test/fixtures/twopage.pdf is not recognized by the 'identify' command.
/Users/james/Documents/code/paperclip/lib/paperclip/geometry.rb:24:in `from_file'
/Users/james/Documents/code/paperclip/lib/paperclip/thumbnail.rb:19:in `initialize'
./test/thumbnail_test.rb:159:in `new'
./test/thumbnail_test.rb:159:in `__bind_1247161570_296358'
/Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call'
/Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks'
/Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each'
/Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks'
/Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A multipage PDF being thumbnailed at 100x100 with cropping should report its correct current and target geometries. '
/Library/Ruby/Gems/1.8/gems/floehopper-mocha-0.9.5.20090201123802/lib/mocha/test_case_adapter.rb:69:in `__send__'
/Library/Ruby/Gems/1.8/gems/floehopper-mocha-0.9.5.20090201123802/lib/mocha/test_case_adapter.rb:69:in `run'
3) Error:
test: A multipage PDF being thumbnailed at 100x100 with cropping should report its correct format. (ThumbnailTest):
Paperclip::NotIdentifiedByImageMagickError: ./test/fixtures/twopage.pdf is not recognized by the 'identify' command.
/Users/james/Documents/code/paperclip/lib/paperclip/geometry.rb:24:in `from_file'
/Users/james/Documents/code/paperclip/lib/paperclip/thumbnail.rb:19:in `initialize'
./test/thumbnail_test.rb:159:in `new'
./test/thumbnail_test.rb:159:in `__bind_1247161570_340435'
/Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `call'
/Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:271:in `run_current_setup_blocks'
/Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `each'
/Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:270:in `run_current_setup_blocks'
/Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:252:in `test: A multipage PDF being thumbnailed at 100x100 with cropping should report its correct format. '
/Library/Ruby/Gems/1.8/gems/floehopper-mocha-0.9.5.20090201123802/lib/mocha/test_case_adapter.rb:69:in `__send__'
/Library/Ruby/Gems/1.8/gems/floehopper-mocha-0.9.5.20090201123802/lib/mocha/test_case_adapter.rb:69:in `run'
4) Failure:
test: A multipage PDF should start with two pages with dimensions 612x792. (ThumbnailTest)
[./test/thumbnail_test.rb:154:in `__bind_1247161570_382276'
/Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:253:in `call'
/Library/Ruby/Gems/1.8/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/context.rb:253:in `test: A multipage PDF should start with two pages with dimensions 612x792. '
/Library/Ruby/Gems/1.8/gems/floehopper-mocha-0.9.5.20090201123802/lib/mocha/test_case_adapter.rb:69:in `__send__'
/Library/Ruby/Gems/1.8/gems/floehopper-mocha-0.9.5.20090201123802/lib/mocha/test_case_adapter.rb:69:in `run']:
<"612x792612x792"> expected but was
<"">.
302 tests, 603 assertions, 1 failures, 3 errors
rake aborted!
Command failed with status (1): [/System/Library/Frameworks/Ruby.framework/...]
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment