ruby on rails installing JSON ubuntu error

前端 未结 2 2003
一个人的身影
一个人的身影 2021-01-12 23:54

Hey I am new to rails (as well as linux) and I keep getting this error:

Installing json (1.7.5) with native extensions 
Gem::Installer::ExtensionBuildError:          


        
相关标签:
2条回答
  • 2021-01-13 00:47

    Installing the ruby1.9.1-dev package should fix this for you

    sudo apt-get install ruby1.9.1-dev
    
    0 讨论(0)
  • 2021-01-13 00:56

    "The same issue on ubuntu-trusty-64 running ruby 2.2.3. the solution is to install libgmp3-dev."

    sudo apt-get install libgmp3-dev
    
    0 讨论(0)
提交回复
热议问题