我用红宝石1.8.7和特制宝石装饰经营铁路2.3.4 应用程序。
在试图调试和运行时,我曾几次试图拆卸安装 rspec 2 并安装 rspec 和 rspec-rails 1.3.4 版本。 然而,当我运行 < code> rspec - v 时, 无论我做什么, 我都会得到 2.1.0 。
最后,我得到了这个错误信息:
You are running rspec-2, but it seems as though rspec-1 has been loaded as
well. This is likely due to a statement like this somewhere in the specs:
require spec
Please locate that statement, remove it, and try again.
似乎有2.1.0 0 实际仍然被装入。 即使我做了一个 < code> gem unstall rspec 的 rspec 仍然被装入。 到底发生了什么?