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

前端 未结 2 570
不知归路
不知归路 2021-02-05 04:07

I am new to Ruby on Rails and testing. When I run rake test I get the following error:

/Users/jarvis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/r         


        
2条回答
  •  死守一世寂寞
    2021-02-05 04:40

    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 
    

提交回复
热议问题