ruby-debug Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers

后端 未结 9 2124
清歌不尽
清歌不尽 2020-12-03 16:53

My Rails is 3.2.1.4, Ruby is 1.9.3p448.

I got an error when I install ruby-debug:

Building native extensions.          


        
9条回答
  •  鱼传尺愫
    2020-12-03 17:24

    You're most likely missing some file headers (e.g. zlib or libiconv), so try installing them.

    Linux: sudo apt-get install libz-dev libiconv-hook1 libiconv-hook-dev

    OS X: brew install libiconv && xcode-select --install

    Otherwise check your mkmf.log file for more specific details.

提交回复
热议问题