简体   繁体   中英

Error installing ScrAPI gem: ffi requires Ruby version >= 1.9.2

I am having issues installing the ScrAPI gem:

ERROR: Error installing scrapi: ffi requires Ruby version >= 1.9.2.

I am running RVM and if I do ruby -v I get:

ruby -v ruby 1.9.2p110 (2010-12-20 revision 30269) [i686-linux]

I am guessing you did

$ sudo gem install scrapi

sudo ruby -v

Unless you followed Wayne's sudo RVM install I'm guessing root uses a different ruby.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM