Gem Installation on WSL always fail

Answered

Hello, 

When I try to install gems from the following message :

 

RubyMine Gem Manager: RubyMine has detected that some of the gems required for 'ruby.anais-coaching' are not installed. Install

(I click on Install)

 

Then I get the following message :

 

Do you know what is the problem ?

 

Thanks

 

2019-02-18 09:15:07,189 [ 597798] INFO - lugins.ruby.gem.GemInstallUtil - Installed gem: bundler
2019-02-18 09:15:07,697 [ 598306] INFO - byRemoteInterpreterManagerImpl - Updating gems for Remote-rbenv: ruby-2.6.1p33 ( revision 66950)-p33: ver.2.6.1p33 ( revision 66950) p33 (wsl://UBUNTU/home/yamakasinge/.rbenv/versions/2.6.1/bin/ruby)
2019-02-18 09:15:07,699 [ 598308] INFO - .execution.wsl.WSLDistribution - [UBUNTU] Patching: rsync -cr --delete /home/yamakasinge/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/specifications/ "/mnt/c/Users/Léo Coletta/.RubyMine2018.3/system/ruby_stubs/-1843098971/-20641878/specifications/"; working dir: null; envs: : without sudo
2019-02-18 09:15:07,699 [ 598308] INFO - .execution.wsl.WSLDistribution - [UBUNTU] Patched as: "C:\Users\Léo Coletta\AppData\Local\Microsoft\WindowsApps\ubuntu.exe" run "rsync -cr --delete /home/yamakasinge/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/specifications/ \"/mnt/c/Users/Léo Coletta/.RubyMine2018.3/system/ruby_stubs/-1843098971/-20641878/specifications/\""
2019-02-18 09:15:07,943 [ 598552] WARN - ote.ruby.RubyWSLRemoteTransfer - D:/Media/Documents/Projets/ruby.anais-coaching/Gemfile.lock is outside of the system path C:\Users\Léo Coletta\.RubyMine2018.3\system
2019-02-18 09:15:07,943 [ 598552] INFO - .execution.wsl.WSLDistribution - [UBUNTU] Patching: rsync -cr /mnt/d/Media/Documents/Projets/ruby.anais-coaching/Gemfile.lock/ /mnt/d/Media/Documents/Projets/ruby.anais-coaching/Gemfile.lock/; working dir: null; envs: : without sudo
2019-02-18 09:15:07,943 [ 598552] INFO - .execution.wsl.WSLDistribution - [UBUNTU] Patched as: "C:\Users\Léo Coletta\AppData\Local\Microsoft\WindowsApps\ubuntu.exe" run "rsync -cr /mnt/d/Media/Documents/Projets/ruby.anais-coaching/Gemfile.lock/ /mnt/d/Media/Documents/Projets/ruby.anais-coaching/Gemfile.lock/"
2019-02-18 09:15:08,131 [ 598740] INFO - .execution.wsl.WSLDistribution - [UBUNTU] Patching: rsync -cr --delete /home/yamakasinge/.gem/ruby/2.6.0/bundler/ "/mnt/c/Users/Léo Coletta/.RubyMine2018.3/system/ruby_stubs/-1843098971/-1818763351/bundler/"; working dir: null; envs: : without sudo
2019-02-18 09:15:08,131 [ 598740] INFO - .execution.wsl.WSLDistribution - [UBUNTU] Patched as: "C:\Users\Léo Coletta\AppData\Local\Microsoft\WindowsApps\ubuntu.exe" run "rsync -cr --delete /home/yamakasinge/.gem/ruby/2.6.0/bundler/ \"/mnt/c/Users/Léo Coletta/.RubyMine2018.3/system/ruby_stubs/-1843098971/-1818763351/bundler/\""
2019-02-18 09:15:08,445 [ 599054] INFO - .execution.wsl.WSLDistribution - [UBUNTU] Patching: rsync -cr --delete /home/yamakasinge/.gem/ruby/2.6.0/specifications/ "/mnt/c/Users/Léo Coletta/.RubyMine2018.3/system/ruby_stubs/-1843098971/-1818763351/specifications/"; working dir: null; envs: : without sudo
2019-02-18 09:15:08,445 [ 599054] INFO - .execution.wsl.WSLDistribution - [UBUNTU] Patched as: "C:\Users\Léo Coletta\AppData\Local\Microsoft\WindowsApps\ubuntu.exe" run "rsync -cr --delete /home/yamakasinge/.gem/ruby/2.6.0/specifications/ \"/mnt/c/Users/Léo Coletta/.RubyMine2018.3/system/ruby_stubs/-1843098971/-1818763351/specifications/\""
2019-02-18 09:15:08,741 [ 599350] INFO - .execution.wsl.WSLDistribution - [UBUNTU] Patching: rsync -cr --delete /home/yamakasinge/.gem/ruby/2.6.0/bin/ "/mnt/c/Users/Léo Coletta/.RubyMine2018.3/system/ruby_stubs/-1843098971/-1818763351/bin/"; working dir: null; envs: : without sudo
2019-02-18 09:15:08,741 [ 599350] INFO - .execution.wsl.WSLDistribution - [UBUNTU] Patched as: "C:\Users\Léo Coletta\AppData\Local\Microsoft\WindowsApps\ubuntu.exe" run "rsync -cr --delete /home/yamakasinge/.gem/ruby/2.6.0/bin/ \"/mnt/c/Users/Léo Coletta/.RubyMine2018.3/system/ruby_stubs/-1843098971/-1818763351/bin/\""
2019-02-18 09:15:09,037 [ 599646] INFO - .execution.wsl.WSLDistribution - [UBUNTU] Patching: rsync -cr --delete /home/yamakasinge/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/bundler/ "/mnt/c/Users/Léo Coletta/.RubyMine2018.3/system/ruby_stubs/-1843098971/-20641878/bundler/"; working dir: null; envs: : without sudo
2019-02-18 09:15:09,037 [ 599646] INFO - .execution.wsl.WSLDistribution - [UBUNTU] Patched as: "C:\Users\Léo Coletta\AppData\Local\Microsoft\WindowsApps\ubuntu.exe" run "rsync -cr --delete /home/yamakasinge/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/bundler/ \"/mnt/c/Users/Léo Coletta/.RubyMine2018.3/system/ruby_stubs/-1843098971/-20641878/bundler/\""
2019-02-18 09:15:09,336 [ 599945] INFO - .execution.wsl.WSLDistribution - [UBUNTU] Patching: rsync -cr --delete /home/yamakasinge/.rbenv/versions/2.6.1/bin/ "/mnt/c/Users/Léo Coletta/.RubyMine2018.3/system/ruby_stubs/-1843098971/-349937931/"; working dir: null; envs: : without sudo
2019-02-18 09:15:09,336 [ 599945] INFO - .execution.wsl.WSLDistribution - [UBUNTU] Patched as: "C:\Users\Léo Coletta\AppData\Local\Microsoft\WindowsApps\ubuntu.exe" run "rsync -cr --delete /home/yamakasinge/.rbenv/versions/2.6.1/bin/ \"/mnt/c/Users/Léo Coletta/.RubyMine2018.3/system/ruby_stubs/-1843098971/-349937931/\""
2019-02-18 09:15:09,585 [ 600194] INFO - .execution.wsl.WSLDistribution - [UBUNTU] Patching: rsync -cr --delete /home/yamakasinge/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/bin/ "/mnt/c/Users/Léo Coletta/.RubyMine2018.3/system/ruby_stubs/-1843098971/-20641878/bin/"; working dir: null; envs: : without sudo
2019-02-18 09:15:09,585 [ 600194] INFO - .execution.wsl.WSLDistribution - [UBUNTU] Patched as: "C:\Users\Léo Coletta\AppData\Local\Microsoft\WindowsApps\ubuntu.exe" run "rsync -cr --delete /home/yamakasinge/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/bin/ \"/mnt/c/Users/Léo Coletta/.RubyMine2018.3/system/ruby_stubs/-1843098971/-20641878/bin/\""
2019-02-18 09:15:09,892 [ 600501] INFO - .execution.wsl.WSLDistribution - [UBUNTU] Patching: rsync -cr --delete /home/yamakasinge/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/ "/mnt/c/Users/Léo Coletta/.RubyMine2018.3/system/ruby_stubs/-1843098971/-20641878/gems/"; working dir: null; envs: : without sudo
2019-02-18 09:15:09,892 [ 600501] INFO - .execution.wsl.WSLDistribution - [UBUNTU] Patched as: "C:\Users\Léo Coletta\AppData\Local\Microsoft\WindowsApps\ubuntu.exe" run "rsync -cr --delete /home/yamakasinge/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/ \"/mnt/c/Users/Léo Coletta/.RubyMine2018.3/system/ruby_stubs/-1843098971/-20641878/gems/\""
2019-02-18 09:15:16,194 [ 606803] INFO - .execution.wsl.WSLDistribution - [UBUNTU] Patching: rsync -cr --delete /home/yamakasinge/.gem/ruby/2.6.0/gems/ "/mnt/c/Users/Léo Coletta/.RubyMine2018.3/system/ruby_stubs/-1843098971/-1818763351/gems/"; working dir: null; envs: : without sudo
2019-02-18 09:15:16,194 [ 606803] INFO - .execution.wsl.WSLDistribution - [UBUNTU] Patched as: "C:\Users\Léo Coletta\AppData\Local\Microsoft\WindowsApps\ubuntu.exe" run "rsync -cr --delete /home/yamakasinge/.gem/ruby/2.6.0/gems/ \"/mnt/c/Users/Léo Coletta/.RubyMine2018.3/system/ruby_stubs/-1843098971/-1818763351/gems/\""
2019-02-18 09:15:16,924 [ 607533] INFO - byRemoteInterpreterManagerImpl - Gems for Remote-rbenv: ruby-2.6.1p33 ( revision 66950)-p33: ver.2.6.1p33 ( revision 66950) p33 (wsl://UBUNTU/home/yamakasinge/.rbenv/versions/2.6.1/bin/ruby) updated
2019-02-18 09:18:16,430 [ 787039] INFO - ide.actions.ShowFilePathAction -
Exit code 1

 

3 comments
Comment actions Permalink

Hello,

could you please specify what type of WSL you're using (SUSE, Ubuntu or..)? 

0
Comment actions Permalink

I use Ubuntu, the same problem happen if I install Rubocop from the warning message

0
Comment actions Permalink

Could you please specify your RubyMine version? Does it happen in the last 2019.1 RC as well?

0

Please sign in to leave a comment.