ruby-debug install error: failed to build gem native extension

前端 未结 8 1974
忘了有多久
忘了有多久 2021-01-30 02:46

I\'m running 1.9.2 with rails 3.

I\'m using rvm.

I did:

sudo gem install ruby-gem

and got:

Building native exte         


        
相关标签:
8条回答
  • 2021-01-30 03:15

    I had a similar issue (problem compiling native extensions) working in vpn behind the firewall and having http_proxy environment variable set. This case installer was unable to retrieve ruby tar file. I closed vpn and unset http_proxy variable and then successfully installed gem. I think --with-ruby-include is an alternative.

    0 讨论(0)
  • 2021-01-30 03:17

    the ruby-debug gem is not compatible to Ruby 1.9.2. You need use the gem ruby-debug19

    So change in your Gemfile to use this one

    gem 'ruby-debug19'
    
    0 讨论(0)
提交回复
热议问题