I’m brand new to Ruby and Rails, so sorry if this is a totally ridiculous question. The tutorial book that I’m reading says that I should be able to launch a Gemfile in Sublime Text directly from the command prompt using the subl Gemfile command. When I try this, I get an error that says “subl is not recognized as an internal or external command, operable program, or batch file”.
I am in the right directory where the Gemfile is located.
Ruby is definitely installed and I am using the command prompt with Ruby and Rails.
Some searches online that I looked through mentioned something about having to add Sublime to the path…not sure if this would help or how to do this.
I initially had Vim as a text editor, and it would launch by itself from the command prompt. I uninstalled Vim after finding Sublime, so that may have something to do with the problem.
I can always go to Sublime Text manually and open the Gemfile, but I hate not understanding why something isn’t working as expected. Any advice would be really appreciated.