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

后端 未结 9 2135
清歌不尽
清歌不尽 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:06

    The error is in the mkmf.log file. That file should be located at /home/hxh/.rvm/gems/ruby-1.9.3-p448/gems/linecache-0.46/ext/linecache/mkmf.log.

    If not, you can use

    sudo find / -name mkmf.log
    

    to find it.

    To troubleshoot further, see "How to install Nokogiri Ruby gem with mkmf.log saying libiconv not found?"

提交回复
热议问题