How do I add gem 'minitest' to my test helper?

天涯浪子 提交于 2019-12-03 01:14:12

Edit your Gemfile so that the gem is specified under the test group, like so:

group :test do
  gem "minitest"
end

(Posting the solution that the OP edited into the question, but did not post as an answer)

uninstall your minitest first. gem uninstall minitest.

if you are using turn make sure the version is less 0.8.3

put those code to your bottom of your Gemfile

group :test do
  gem 'turn', '< 0.8.3'
  gem 'minitest'
end

then run

bundle install 
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!