{"action":"created","issue":{"url":"https://api.github.com/repos/drapergem/draper/issues/690","labels_url":"https://api.github.com/repos/drapergem/draper/issues/690/labels{/name}","comments_url":"https://api.github.com/repos/drapergem/draper/issues/690/comments","events_url":"https://api.github.com/repos/drapergem/draper/issues/690/events","html_url":"https://github.com/drapergem/draper/issues/690","id":100049039,"number":690,"title":"Ruby 2.2 on Rails 3.2 support","user":{"login":"leomao10","id":198821,"avatar_url":"https://avatars.githubusercontent.com/u/198821?v=3","gravatar_id":"","url":"https://api.github.com/users/leomao10","html_url":"https://github.com/leomao10","followers_url":"https://api.github.com/users/leomao10/followers","following_url":"https://api.github.com/users/leomao10/following{/other_user}","gists_url":"https://api.github.com/users/leomao10/gists{/gist_id}","starred_url":"https://api.github.com/users/leomao10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leomao10/subscriptions","organizations_url":"https://api.github.com/users/leomao10/orgs","repos_url":"https://api.github.com/users/leomao10/repos","events_url":"https://api.github.com/users/leomao10/events{/privacy}","received_events_url":"https://api.github.com/users/leomao10/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-10T12:09:10Z","updated_at":"2015-08-10T23:22:49Z","closed_at":"2015-08-10T23:22:49Z","body":"Hello, I'm getting this error, when I tried to run `bundle exec rake`:\r\n\r\n```ruby\r\n/Users/leo/.gem/ruby/2.2.2/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:251:in `require': Please add test-unit gem to your Gemfile: `gem 'test-unit', '~> 3.0'` (cannot load such file -- test/unit/testcase) (LoadError)\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:251:in `block in require'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:236:in `load_dependency'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:251:in `require'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/activesupport-3.2.22/lib/active_support/test_case.rb:2:in `<top (required)>'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:251:in `require'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:251:in `block in require'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:236:in `load_dependency'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:251:in `require'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/draper-1.3.0/lib/draper/test_case.rb:11:in `rescue in <module:Draper>'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/draper-1.3.0/lib/draper/test_case.rb:7:in `<module:Draper>'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/draper-1.3.0/lib/draper/test_case.rb:1:in `<top (required)>'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:251:in `require'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:251:in `block in require'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:236:in `load_dependency'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:251:in `require'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/draper-1.3.0/lib/draper/railtie.rb:21:in `block in <class:Railtie>'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/activesupport-3.2.22/lib/active_support/lazy_load_hooks.rb:34:in `call'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/activesupport-3.2.22/lib/active_support/lazy_load_hooks.rb:34:in `execute_hook'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/activesupport-3.2.22/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/activesupport-3.2.22/lib/active_support/lazy_load_hooks.rb:42:in `each'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/activesupport-3.2.22/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/railties-3.2.22/lib/rails/application/finisher.rb:59:in `block in <module:Finisher>'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/railties-3.2.22/lib/rails/initializable.rb:30:in `instance_exec'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/railties-3.2.22/lib/rails/initializable.rb:30:in `run'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/railties-3.2.22/lib/rails/initializable.rb:55:in `block in run_initializers'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/railties-3.2.22/lib/rails/initializable.rb:54:in `each'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/railties-3.2.22/lib/rails/initializable.rb:54:in `run_initializers'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/railties-3.2.22/lib/rails/application.rb:136:in `initialize!'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/railties-3.2.22/lib/rails/railtie/configurable.rb:30:in `method_missing'\r\n\tfrom /Users/leo/reInteractive/acconline/acctv-online/config/environment.rb:5:in `<top (required)>'\r\n\tfrom /Users/leo/reInteractive/acconline/acctv-online/spec/spec_helper.rb:3:in `require'\r\n\tfrom /Users/leo/reInteractive/acconline/acctv-online/spec/spec_helper.rb:3:in `<top (required)>'\r\n\tfrom /Users/leo/reInteractive/acconline/acctv-online/spec/controllers/admin/packages_controller_spec.rb:1:in `require'\r\n\tfrom /Users/leo/reInteractive/acconline/acctv-online/spec/controllers/admin/packages_controller_spec.rb:1:in `<top (required)>'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/rspec-core-2.14.6/lib/rspec/core/configuration.rb:896:in `load'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/rspec-core-2.14.6/lib/rspec/core/configuration.rb:896:in `block in load_spec_files'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/rspec-core-2.14.6/lib/rspec/core/configuration.rb:896:in `each'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/rspec-core-2.14.6/lib/rspec/core/configuration.rb:896:in `load_spec_files'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/rspec-core-2.14.6/lib/rspec/core/command_line.rb:22:in `run'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/rspec-core-2.14.6/lib/rspec/core/runner.rb:80:in `run'\r\n\tfrom /Users/leo/.gem/ruby/2.2.2/gems/rspec-core-2.14.6/lib/rspec/core/runner.rb:17:in `block in autorun'\r\n```\r\n\r\nI also tried in v1.4.0, and it throws the same error. I think the reason is [test-unit and minitest was removed in ruby 2.2](https://bugs.ruby-lang.org/issues/9711)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/drapergem/draper/issues/comments/129645322","html_url":"https://github.com/drapergem/draper/issues/690#issuecomment-129645322","issue_url":"https://api.github.com/repos/drapergem/draper/issues/690","id":129645322,"user":{"login":"leomao10","id":198821,"avatar_url":"https://avatars.githubusercontent.com/u/198821?v=3","gravatar_id":"","url":"https://api.github.com/users/leomao10","html_url":"https://github.com/leomao10","followers_url":"https://api.github.com/users/leomao10/followers","following_url":"https://api.github.com/users/leomao10/following{/other_user}","gists_url":"https://api.github.com/users/leomao10/gists{/gist_id}","starred_url":"https://api.github.com/users/leomao10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leomao10/subscriptions","organizations_url":"https://api.github.com/users/leomao10/orgs","repos_url":"https://api.github.com/users/leomao10/repos","events_url":"https://api.github.com/users/leomao10/events{/privacy}","received_events_url":"https://api.github.com/users/leomao10/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T23:22:49Z","updated_at":"2015-08-10T23:22:49Z","body":"I see, thanks for your quick response :) I will close the issue now.\r\n\r\nCheers"}}