Configuring the Gemfile


#1

Hello
i’m having issue with the opening the Gemfile. when i type code . this is what i get

Command ‘code’ not found, but can be installed with:

sudo snap install vscode

i downloaded the window version of the VScode on my host computer.

i am using Xubuntu 18.04 in VM in window 10. i did everything according to the instruction from download to this point so far but i got stuck now.
when i run the code: git remote show, i get this output
heroku
origin
This is the current directory i am in: /home/user/odin_on_rails/my_first_rails_app
when i run ls, this is the output:
app bin config config.ru db Gemfile Gemfile.lock lib log package.json public Rakefile README.md storage test tmp vendor

when i run the code . This is the output
Command ‘code’ not found, but can be installed with:

sudo snap install vscode

How can i get to VScode to open the Gemfile. any help is much appreciated.

Do i need to download VScode in the VM enviroment or is there anyway i can connect to the one in my windom?


#2

Hi @alifarah33

A VM is a standalone system. It cannot access your windows files which is the point. You would need to install the linux version of VS Code within the VM.