Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It fails on Rails 5 with LoadError: cannot load such file -- rails/test_unit/sub_test_task #33

Closed
rusanu opened this issue Feb 17, 2016 · 5 comments

Comments

@rusanu
Copy link

rusanu commented Feb 17, 2016

LoadError: cannot load such file -- rails/test_unit/sub_test_task
.../.rvm/gems/ruby-2.2.4/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in `require'
.../.rvm/gems/ruby-2.2.4/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in `block in require'
.../.rvm/gems/ruby-2.2.4/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:268:in `load_dependency'
.../.rvm/gems/ruby-2.2.4/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:302:in `require'
.../.rvm/gems/ruby-2.2.4/gems/rails-perftest-0.0.6/lib/rails/perftest/railties/testing.tasks:1:in `<top (required)>'
.../.rvm/gems/ruby-2.2.4/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:296:in `load'
.../.rvm/gems/ruby-2.2.4/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:296:in `block in load'
.../.rvm/gems/ruby-2.2.4/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:268:in `load_dependency'
.../.rvm/gems/ruby-2.2.4/gems/activesupport-5.0.0.beta2/lib/active_support/dependencies.rb:296:in `load'
.../.rvm/gems/ruby-2.2.4/gems/rails-perftest-0.0.6/lib/rails/perftest/railtie.rb:8:in `block in <class:Railtie>'
.../.rvm/gems/ruby-2.2.4/gems/railties-5.0.0.beta2/lib/rails/railtie.rb:237:in `instance_exec'
.../.rvm/gems/ruby-2.2.4/gems/railties-5.0.0.beta2/lib/rails/railtie.rb:237:in `block in run_tasks_blocks'
.../.rvm/gems/ruby-2.2.4/gems/railties-5.0.0.beta2/lib/rails/railtie.rb:245:in `each'
.../.rvm/gems/ruby-2.2.4/gems/railties-5.0.0.beta2/lib/rails/railtie.rb:245:in `each_registered_block'
.../.rvm/gems/ruby-2.2.4/gems/railties-5.0.0.beta2/lib/rails/railtie.rb:237:in `run_tasks_blocks'
.../.rvm/gems/ruby-2.2.4/gems/railties-5.0.0.beta2/lib/rails/application.rb:440:in `block in run_tasks_blocks'
.../.rvm/gems/ruby-2.2.4/gems/railties-5.0.0.beta2/lib/rails/engine/railties.rb:13:in `each'
.../.rvm/gems/ruby-2.2.4/gems/railties-5.0.0.beta2/lib/rails/engine/railties.rb:13:in `each'
.../.rvm/gems/ruby-2.2.4/gems/railties-5.0.0.beta2/lib/rails/application.rb:440:in `run_tasks_blocks'
.../.rvm/gems/ruby-2.2.4/gems/railties-5.0.0.beta2/lib/rails/engine.rb:457:in `load_tasks'
.../.rvm/gems/ruby-2.2.4/gems/railties-5.0.0.beta2/lib/rails/railtie.rb:194:in `public_send'
.../.rvm/gems/ruby-2.2.4/gems/railties-5.0.0.beta2/lib/rails/railtie.rb:194:in `method_missing'

This is similar to drapergem/draper#681 .
Rails 5 no longer has rails/test_unit/sub_test_task

@senny
Copy link
Member

senny commented Feb 17, 2016

yes, that's true. This gem currently does not work with Rails 5.

@senny senny closed this as completed in 8f8d844 Feb 17, 2016
@senny
Copy link
Member

senny commented Feb 17, 2016

@rusanu can you check to see if running the master version works for you?

@rusanu
Copy link
Author

rusanu commented Feb 17, 2016

Thanks Yves, master works.

YtvwlD added a commit to YtvwlD/mete that referenced this issue Aug 13, 2016
@sreuterle
Copy link

It would be great if you release a new gem version so that this gem works with latest rails version too.

@senny
Copy link
Member

senny commented Feb 22, 2017

@sreuterle Thanks for the reminder. I have released 0.0.7.

YtvwlD added a commit to YtvwlD/mete that referenced this issue Sep 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants