Skip to content

Instantly share code, notes, and snippets.

@ratnikov
Created February 9, 2012 23:34
Show Gist options
  • Save ratnikov/1784262 to your computer and use it in GitHub Desktop.
Save ratnikov/1784262 to your computer and use it in GitHub Desktop.
bash-3.2$ rvm use jruby
Using /Users/ratnikov/.rvm/gems/jruby-1.6.5.1
bash-3.2$ ruby --version
jruby 1.6.5.1 (ruby-1.9.2-p136) (2011-12-27 1bf37c2) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_29) [darwin-x86_64-java]
bash-3.2$ rake test
/Users/ratnikov/.rvm/rubies/jruby-1.6.5.1/bin/jruby -w -I"lib:test" -I"/Users/ratnikov/.rvm/gems/jruby-1.6.5.1/gems/rake-0.9.2.2/lib" "/Users/ratnikov/.rvm/gems/jruby-1.6.5.1/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb" "test/abstract/abstract_controller_test.rb" "test/abstract/callbacks_test.rb" "test/abstract/collector_test.rb" "test/abstract/helper_test.rb" "test/abstract/layouts_test.rb" "test/abstract/render_test.rb" "test/abstract/translation_test.rb" "test/assertions/response_assertions_test.rb" "test/controller/action_pack_assertions_test.rb" "test/controller/addresses_render_test.rb" "test/controller/assert_select_test.rb" "test/controller/base_test.rb" "test/controller/caching_test.rb" "test/controller/capture_test.rb" "test/controller/content_type_test.rb" "test/controller/default_url_options_with_filter_test.rb" "test/controller/filters_test.rb" "test/controller/flash_hash_test.rb" "test/controller/flash_test.rb" "test/controller/force_ssl_test.rb" "test/controller/helper_test.rb" "test/controller/http_basic_authentication_test.rb" "test/controller/http_digest_authentication_test.rb" "test/controller/http_token_authentication_test.rb" "test/controller/integration_test.rb" "test/controller/layout_test.rb" "test/controller/localized_templates_test.rb" "test/controller/log_subscriber_test.rb" "test/controller/mime_responds_test.rb" "test/controller/new_base/bare_metal_test.rb" "test/controller/new_base/base_test.rb" "test/controller/new_base/content_negotiation_test.rb" "test/controller/new_base/content_type_test.rb" "test/controller/new_base/metal_test.rb" "test/controller/new_base/middleware_test.rb" "test/controller/new_base/render_action_test.rb" "test/controller/new_base/render_context_test.rb" "test/controller/new_base/render_file_test.rb" "test/controller/new_base/render_implicit_action_test.rb" "test/controller/new_base/render_layout_test.rb" "test/controller/new_base/render_partial_test.rb" "test/controller/new_base/render_streaming_test.rb" "test/controller/new_base/render_template_test.rb" "test/controller/new_base/render_test.rb" "test/controller/new_base/render_text_test.rb" "test/controller/new_base/render_xml_test.rb" "test/controller/output_escaping_test.rb" "test/controller/params_wrapper_test.rb" "test/controller/record_identifier_test.rb" "test/controller/redirect_test.rb" "test/controller/render_js_test.rb" "test/controller/render_json_test.rb" "test/controller/render_other_test.rb" "test/controller/render_test.rb" "test/controller/render_xml_test.rb" "test/controller/request/test_request_test.rb" "test/controller/request_forgery_protection_test.rb" "test/controller/rescue_test.rb" "test/controller/resources_test.rb" "test/controller/routing_test.rb" "test/controller/runner_test.rb" "test/controller/selector_test.rb" "test/controller/send_file_test.rb" "test/controller/show_exceptions_test.rb" "test/controller/test_case_test.rb" "test/controller/url_for_integration_test.rb" "test/controller/url_for_test.rb" "test/controller/url_rewriter_test.rb" "test/controller/view_paths_test.rb" "test/controller/webservice_test.rb" "test/dispatch/callbacks_test.rb" "test/dispatch/cookies_test.rb" "test/dispatch/debug_exceptions_test.rb" "test/dispatch/header_test.rb" "test/dispatch/mapper_test.rb" "test/dispatch/middleware_stack/middleware_test.rb" "test/dispatch/middleware_stack_test.rb" "test/dispatch/mime_type_test.rb" "test/dispatch/mount_test.rb" "test/dispatch/prefix_generation_test.rb" "test/dispatch/rack_cache_test.rb" "test/dispatch/rack_test.rb" "test/dispatch/reloader_test.rb" "test/dispatch/request/json_params_parsing_test.rb" "test/dispatch/request/multipart_params_parsing_test.rb" "test/dispatch/request/query_string_parsing_test.rb" "test/dispatch/request/url_encoded_params_parsing_test.rb" "test/dispatch/request/xml_params_parsing_test.rb" "test/dispatch/request_id_test.rb" "test/dispatch/request_test.rb" "test/dispatch/response_test.rb" "test/dispatch/routing_assertions_test.rb" "test/dispatch/routing_test.rb" "test/dispatch/session/cache_store_test.rb" "test/dispatch/session/cookie_store_test.rb" "test/dispatch/session/mem_cache_store_test.rb" "test/dispatch/session/test_session_test.rb" "test/dispatch/show_exceptions_test.rb" "test/dispatch/static_test.rb" "test/dispatch/test_request_test.rb" "test/dispatch/test_response_test.rb" "test/dispatch/uploaded_file_test.rb" "test/dispatch/url_generation_test.rb" "test/template/active_model_helper_test.rb" "test/template/asset_tag_helper_test.rb" "test/template/atom_feed_helper_test.rb" "test/template/benchmark_helper_test.rb" "test/template/capture_helper_test.rb" "test/template/compiled_templates_test.rb" "test/template/compressors_test.rb" "test/template/date_helper_i18n_test.rb" "test/template/date_helper_test.rb" "test/template/erb/form_for_test.rb" "test/template/erb/tag_helper_test.rb" "test/template/erb_util_test.rb" "test/template/form_collections_helper_test.rb" "test/template/form_helper_test.rb" "test/template/form_options_helper_i18n_test.rb" "test/template/form_options_helper_test.rb" "test/template/form_tag_helper_test.rb" "test/template/html-scanner/cdata_node_test.rb" "test/template/html-scanner/document_test.rb" "test/template/html-scanner/node_test.rb" "test/template/html-scanner/sanitizer_test.rb" "test/template/html-scanner/tag_node_test.rb" "test/template/html-scanner/text_node_test.rb" "test/template/html-scanner/tokenizer_test.rb" "test/template/javascript_helper_test.rb" "test/template/log_subscriber_test.rb" "test/template/lookup_context_test.rb" "test/template/number_helper_i18n_test.rb" "test/template/number_helper_test.rb" "test/template/output_buffer_test.rb" "test/template/output_safety_helper_test.rb" "test/template/record_tag_helper_test.rb" "test/template/render_test.rb" "test/template/resolver_patterns_test.rb" "test/template/sanitize_helper_test.rb" "test/template/sprockets_helper_test.rb" "test/template/sprockets_helper_with_routes_test.rb" "test/template/streaming_render_test.rb" "test/template/tag_helper_test.rb" "test/template/template_error_test.rb" "test/template/template_test.rb" "test/template/test_case_test.rb" "test/template/test_test.rb" "test/template/testing/fixture_resolver_test.rb" "test/template/testing/null_resolver_test.rb" "test/template/text_helper_test.rb" "test/template/translation_helper_test.rb" "test/template/url_helper_test.rb"
/Users/ratnikov/.rvm/gems/jruby-1.6.5.1/bundler/gems/journey-38dd4ee564a7/lib/journey/router.rb:7 warning: global variable `$-w' not initialized
NoMethodError: undefined method `register_spec_type' for ActiveSupport::TestCase:Class
TestCase at /Users/ratnikov/rails/activesupport/lib/active_support/test_case.rb:20
ActiveSupport at /Users/ratnikov/rails/activesupport/lib/active_support/test_case.rb:11
(root) at /Users/ratnikov/rails/activesupport/lib/active_support/test_case.rb:10
ActiveSupport at /Users/ratnikov/rails/activesupport/lib/active_support/test_case.rb:122
(root) at /Users/ratnikov/rails/actionpack/test/abstract_unit.rb:121
require at org/jruby/RubyKernel.java:1047
require at /Users/ratnikov/.rvm/rubies/jruby-1.6.5.1/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36
(root) at /Users/ratnikov/rails/actionpack/test/abstract_unit.rb:1
require at org/jruby/RubyKernel.java:1047
require at /Users/ratnikov/.rvm/rubies/jruby-1.6.5.1/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36
__file__ at /Users/ratnikov/.rvm/gems/jruby-1.6.5.1/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:15
select at org/jruby/RubyArray.java:2382
(root) at /Users/ratnikov/.rvm/gems/jruby-1.6.5.1/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:4
rake aborted!
Command failed with status (1): [/Users/ratnikov/.rvm/rubies/jruby-1.6.5.1/...]
Tasks: TOP => test => test_action_pack
(See full trace by running task with --trace)
bash-3.2$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment