Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在安装 ScrAPI gem 时遇到问题:
错误:安装 scrapi 时出错:ffi 需要 Ruby 版本 >= 1.9.2。
我正在运行 RVM,如果我执行 ruby -v 我得到:
ruby -v ruby 1.9.2p110(2010-12-20 修订版 30269)[i686-linux]
我猜你做到了
$ sudo gem install scrapi sudo ruby -v
除非您遵循 Wayne 的 sudo RVM install 我猜 root 使用不同的 ruby。