-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install gem #84
Comments
It is trying to install base gem that depends on ruby version that you're using. Since there's no builtin mechanism for that in rubygems, we're trying to install it manually. You can workaround this problem by running |
@denofevil When creating Gem::DependencyInstaller instances, it's better if you pass command line I might send a pull request for this when I have some time. @c0m3tx |
Sorry about what I said above. It's wrong. @c0m3tx you should just upgrade your |
I had similar problem in Ubuntu 16.04, using Ruby version 2.3.1. I solved it by updating my Gem to latest version (2.7.6), then updated Rake from 10.5.0 to 12.3.1. After that, I tried installing ruby-debug-ide v0.6.1, and it works fine like magic. |
Updating the gems did the trick for me. Thanks. |
Saldy not for me. Need help |
Error running 'main': Failed to Install Gems. Following gems were not installed: /home/garrit/.IntelliJIdea2018.2/config/plugins/ruby/rb/gems/ruby-debug-ide-0.7.0.beta6.gem: Error installing ruby-debug-ide-0.7.0.beta6.gem: ERROR: Failed to build gem native extension. current directory: /home/garrit/.gem/ruby/2.5.0/gems/ruby-debug-ide-0.7.0.beta6/ext /usr/bin/ruby2.5 mkrf_conf.rb Installing base gem You don't have write permissions for the /var/lib/gems/2.5.0 directory. /usr/lib/ruby/2.5.0/rubygems/installer.rb:706:in |
|
I'm trying to install ruby-debug-ide but it does not work:
I tried installing it as root but then I can't access the binary (which is located in /root/.gem/ruby/2.3.0/bin).
I tried putting the gem in my Gemfile but does not work (same error)
Why does it try to write in /usr/lib? Any way to bypass this behavior?
Thanks in advance
I'm on Ruby 2.3.0 on Archlinux, no RVM, no rbenv.
The text was updated successfully, but these errors were encountered: