ruby-debug / ruby-debug-ide

An interface which glues ruby-debug to IDEs like Eclipse (RDT), NetBeans and RubyMine.
https://www.jetbrains.com/ruby/features/ruby_debugger.html
Other
371 stars 83 forks source link

install issues with DevKit #188

Closed amiracam closed 4 years ago

amiracam commented 4 years ago

on the latest version of IDEA running a Jruby project on amazon corretto 1.8.242, upon trying to debug IDEA pops a dialog stating that its installing 0.7.1.beta3 but the installation fails even though I have installed DevKit successfully at least by the account of the DevKit installer. Logs: Failed to Install Gems. Following gems were not installed: C:\Users\Charles\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\201.6668.13.plugins\ruby\rb\gems\ruby-debug-ide-0.7.1.beta3.gem: Error installing ruby-debug-ide-0.7.1.beta3.gem: ERROR: Failed to build gem native extension. current directory: C:/jruby-9.2.11.1/lib/ruby/gems/shared/gems/ruby-debug-ide-0.7.1.beta3/ext C:/jruby-9.2.11.1/bin/jruby.exe mkrf_conf.rb current directory: C:/jruby-9.2.11.1/lib/ruby/gems/shared/gems/ruby-debug-ide-0.7.1.beta3/ext C:jruby-9.2.11.1binjruby.exe -S rake RUBYARCHDIR\=C:/jruby-9.2.11.1/lib/ruby/gems/shared/extensions/universal-java-1.8/2.5.0/ruby-debug-ide-0.7.1.beta3 RUBYLIBDIR\=C:/jruby-9.2.11.1/lib/ruby/gems/shared/extensions/universal-java-1.8/2.5.0/ruby-debug-ide-0.7.1.beta3 rake failedCannot run program "C:jruby-9.2.11.1binjruby.exe" (in directory "C:\jruby-9.2.11.1\lib\ruby\gems\shared\gems\ruby-debug-ide-0.7.1.beta3\ext"): CreateProcess error=2, The system ca... (show balloon)

amiracam commented 4 years ago

I resolved the issue by not installing via IDEA but rather this morning I opened Powershell and ran as admin and then ran "jruby -S gem install ruby-debug-ide -v 0.7.1beta3" , after which I was not prompted by IDEA to install ruby-debug-ide via their dialog