require 'linguistics'
`require': cannot load such file -- linguistics (LoadError)
但是当我在 IRB 中尝试测试代码时 - 一切都很好
最佳答案
我怀疑您需要编辑应用程序的 Gemfile
请参阅:http://gembundler.com/v1.3/gemfile.html
简而言之,编辑 Gemfile 并添加一行
gem 'linguistics'
然后运行
bundle install
从您的终端。
然后再次尝试 rake 命令
关于ruby - 不能从文件中要求语言学或其他库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15728178/