You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows build number: Microsoft Windows [Version 10.0.18363.778]
Your Distribution version: Ubuntu Release: 20.04
Whether the issue is on WSL 2 and/or WSL 1: Linux version 4.4.0-18362-Microsoft ([email protected]) (gcc version 5.4.0 (GCC) ) #476-Microsoft Fri Nov 01 16:53:00 PST 2019
Steps to reproduce
I have got a Rails project which I normally run inside the WSL. I would like to do the same thing from outside the WSL using bash -c (or wsl (?)). I ran this from both CMD and Powershell
bash -c "cd /mnt/c/<path/to/project>;bin/rails s
And I got this error.
/usr/local/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler/setup (LoadError)
from /usr/local/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /mnt/c/<path/to/project>/config/boot.rb:5:in `<top (required)>'
from bin/rails:3:in `require_relative'
from bin/rails:3:in `<main>'
I also tried using bundler with bash -c "cd /mnt/c/<path/to/project>;bundle exec bin/rails s"
I got
/bin/bash: bundle: command not found
Could you please help out here?
The text was updated successfully, but these errors were encountered:
Environment
Steps to reproduce
I have got a Rails project which I normally run inside the WSL. I would like to do the same thing from outside the WSL using
bash -c
(orwsl
(?)). I ran this from both CMD and Powershellbash -c "cd /mnt/c/<path/to/project>;bin/rails s
And I got this error.
I also tried using bundler with
bash -c "cd /mnt/c/<path/to/project>;bundle exec bin/rails s"
I got
Could you please help out here?
The text was updated successfully, but these errors were encountered: