Error installing gems that use native extensions on Ubuntu, Ruby 1.9.2 via RVM

前端 未结 5 1771

I get an error while trying to install the ffi gem:

~ - 16:54>gem i ffi
Building native extensions.  This could take a while...
ERROR:  Error installing f         


        
5条回答
  •  再見小時候
    2020-12-25 09:35

    The installer attempts to run rake but fails when it isn't found:

    can't find gem rake ([">= 0"]) with executable rake (Gem::GemNotFoundException)
    

    You need to install the rake gem: gem install rake.

提交回复
热议问题