No source for ruby-2.0.0-p451 provided with debugger-ruby_core_source gem

后端 未结 9 667
孤街浪徒
孤街浪徒 2021-02-05 07:47

I\'ve seen very similar problems in other SO questions (e.g. No source for ruby-1.9.2-p321 provided with debugger-ruby_core_source gem) as well as through a Google search, but n

9条回答
  •  借酒劲吻你
    2021-02-05 08:43

    I ran into what I believe was the same problem while trying to install dubugger with ruby 2.0.0-p598.

    The gem debugger-ruby_core_source is a dependency of debugger and provides header files for specific versions of ruby that seem to be used while installing debugger. Look in debugger-ruby_core_source/lib/debugger/ruby_core_source/ to see which versions are supported—the header files are not provided for all ruby versions. In my case, they were not provided for version 2.0.0-p598.

    Looking at the README for debugger-ruby_core_source, there is a rake task for adding the required files for ruby versions.

    From the command line within the gem's directory, I ran

    $ rake add_source VERSION=2.0.0-p598 
    

    When I ran this task the first time, I received an error and was required to install the archive-tar-minitar gem before running the rake task again.

    After the rake task added the header files for my version, I was able to successfully install and run debugger.

提交回复
热议问题