Sublime’s terminal plug-in opens a terminal that cannot recognize ruby in my environment variable. What should I do?

  question, ruby

I have installed Ruby and set up environment variables. And I can execute ruby commands in any terminal that I open manually.

However, I opened the terminal with Sublime’s Terminal plug-in and was unable to execute ruby commands.

  • This is the terminal I opened manually.
  • This is the terminal I opened with the terminal plug-in

So, what exactly is the problem? ?

There is only one answer to the question, that is, please restart sublime.~~