簡體   English   中英

rails 控制台給出錯誤,將測試單元 gem 添加到 gemfile

[英]rails console giving error to add test-unit gem to gemfile

運行rails console時出現錯誤:

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

如果我將這個 gem 添加到我的 Gemfile 中,那么 rails 控制台就可以正常工作。 但是為什么它一直要求我將這個 gem 添加到我的 Gemfile 中?

Rails 版本 3.2.2

它是 rails 依賴項: https : //github.com/drapergem/draper/issues/690請閱讀更多相關信息: https : //bugs.ruby-lang.org/issues/9711

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM