rails/prototype-rails

Add minitest to gemspec

bkabrda opened this issue · 2 comments

Hi,
I think you should add minitest or test/unit to the gemspec. When using with Fedora Ruby with unbundled minitest, I get
cannot load such file -- minitest/unit
...
/home/bkabrda/.gem/ruby/1.9.1/gems/prototype-rails-3.2.1/lib/prototype-rails/on_load_action_view.rb:17:in `<top (required)>'
...
Thanks!

I think you should add minitest or test/unit to the gemspec.

I disagree, I think prototype-rails should avoid autoloading minitest. This is what pull request #23 does, which I think would also address your issue.

RIght