So I have an environment variable in my .env file.
TESTMSG=abc$efg
And in rails console when I try to retrieve this data, it gets trimmed and the part after & doesn't get printed.
2.6.0 :001 > ENV['TESTWORD']
=> "abc"
How to get the complete word. I even tried puting quotes around the word like this.
TESTMSG="abc$efg"
which didn't work.