Unable to install ruby-debug-ide RubyMine 2016 Arch linux
I'm attempting to install ruby-debug-ide on an Arch system. It's not yet up in one of their many repos (just issued a merge to add it to quarry) for Ruby gems. I tried installing it as root with `gem install ruby-debug-ide --no-user-install`, and I receive this error.
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug-ide:
ERROR: Failed to build gem native extension.
current directory: /usr/lib/ruby/gems/2.3.0/gems/ruby-debug-ide-0.6.0/ext
/usr/bin/ruby mkrf_conf.rb
Installing base gem
Building native extensions. This could take a while...
current directory: /usr/lib/ruby/gems/2.3.0/gems/ruby-debug-ide-0.6.0/ext
/usr/bin/ruby -rubygems /usr/lib/ruby/gems/2.3.0/gems/rake-11.1.2/bin/rake RUBYARCHDIR=/usr/lib/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0/ruby-debug-ide-0.6.0 RUBYLIBDIR=/usr/lib/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0/ruby-debug-ide-0.6.0
/usr/bin/ruby: No such file or directory -- /usr/lib/ruby/gems/2.3.0/gems/rake-11.1.2/bin/rake (LoadError)
rake failed, exit code 1
Gem files will remain installed in /usr/lib/ruby/gems/2.3.0/gems/ruby-debug-ide-0.6.0 for inspection.
Results logged to /usr/lib/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0/ruby-debug-ide-0.6.0/gem_make.out
Anyone know how to install the debugger correctly?
Please sign in to leave a comment.
I had this same problem, it should be just a matter of having write access to the directory the gems are being installed to.
I ran: