Zia Qamar
Zia Qamar

Reputation: 1775

rails console giving error to add test-unit gem to gemfile

I am getting an error while running rails console:

`require': Please add test-unit gem to your Gemfile: `gem 'test-unit', '~> 3.0'`(cannot load such file -- test/unit/testcase) (LoadError)

If I add this gem to my Gemfile then rails console works fine. But why does it keep asking me to add this gem to my Gemfile?

Rails version 3.2.2

Upvotes: 3

Views: 713

Answers (1)

Dmitry Polushkin
Dmitry Polushkin

Reputation: 3393

It's rails dependency: https://github.com/drapergem/draper/issues/690 Please read more about that: https://bugs.ruby-lang.org/issues/9711

Upvotes: 1

Related Questions