Running Bundler with remote SDK on Windows
Hi Folks!
I got the following error:
/SOME_HOME_DIR/.rvm/rubies/ruby-2.4.1/bin/ruby -e '$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)' C:/dev/ruby_workspace/websocket-sample/bin/bundle install
bash: line 0: cd: C:/dev/ruby_workspace/websocket-sample: No such file or directory
-e:1:in `load': cannot load such file -- C:/dev/ruby_workspace/websocket-sample/bin/bundle (LoadError)
from -e:1:in `<main>'
Process finished with exit code 1
Some info on Top..
As U can imagine I run WIndows - especially Windows with creators Update and the new WSL Toolchain. As Rubymine does not support WSL in the current stable I use the SSH remote SDK approach. So my Problem here is why Rubymine is trying to run bundler on C:/ instead /mnt/c/...
Any suggestion to solve this?
I already tried to set a run config with diffrent settings like changing the working directory but nothing have worked so far.
请先登录再写评论。
Solved this by myself I just forgot to configure Pathmappings as I configured the remote Ruby Interpreter.
So the Stuff to do was to map the local C:/dev.... to /mnt/c/dev... on the "remote"
Cheers!