I am executing commands in Ruby using system command, but I am facing the following problem:
I load an environment using the command Environment.bat, and I want to execute the second command which makes use of the environment that I have set up successfully in the previous command. However, it seems as if loading the environment earlier does not have any effect at all.
How to solve this problem so that the environment that I load in the ruby shell is used in the commands that I execute afterwards.