我想使用ImageSpec gem,因此在文件中包含以下内容:
require 'imagespec'
但在运行时遇到以下加载错误:
`require': cannot load such file -- imagespec (LoadError)
gem list ruby-imagespec
显示:
*** LOCAL GEMS ***
ruby-imagespec (0.3.1)
但是gem which ruby-imagespec
给出了:
ERROR: Can't find ruby library file or shared library ruby-imagespec
我如何要求文件?