An error occurred while installing debug_inspector (0.0.2), and Bundler cannot continue

前端 未结 3 860
暗喜
暗喜 2021-01-24 00:13

Migrating my rails app from 3.2 to 4.0.0 and ruby 2.2.2 to 2.2.4

while doing bundle install am getting (An error occurred while installing debug_inspector (0.0.2), and B

相关标签:
3条回答
  • 2021-01-24 00:23

    /usr/bin/ld: cannot find -lgmp means that it can't find the gmp library. Try running:

    sudo apt-get install libgmp3-dev

    Then bundle.

    0 讨论(0)
  • 2021-01-24 00:30
    /usr/bin/ld: cannot find -lgmp
    

    You're missing the linux library gmp-devel

    Also, https://github.com/CocoaPods/CocoaPods/issues/1727 indicates that the later issues might be down to bundler not being able to locate a version of gcc on your linux box.

    0 讨论(0)
  • 2021-01-24 00:39

    You're missing build dependencies. Do the following:

    $ sudo apt-get update

    $ sudo apt-get install build-essential

    Then run bundler again.

    0 讨论(0)
提交回复
热议问题