ERROR: Error installing ffi: ERROR: Failed to build gem native extension

后端 未结 15 1570
春和景丽
春和景丽 2020-12-03 14:12

Got the DevKit installed and re-ran the ffi install….got this as an output:

C:\\Documents and Settings\\******>gem install ffi
Temporarily enhancing PATH          


        
15条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-03 14:56

    For me the fix was running in this order. I'm not sure what all was relevant, but it worked:

    gem install ffi --version '1.0.9'
    

    The above failed, but then I could successfully run:

    gem install bundler
    

    ...and subsequently:

    gem install ffi
    

    ...which got the latest version (1.6.0 at the time of writing this) and installed it successfully.

提交回复
热议问题