Gas pipe to dryer has wrong adapter
The elbow looks good, but what happens after that seems to be a mess.



Circled in red appears to be a flared adapter, which is connected to the valve using far too much dope to tell exactly what's going on. I'd assume by the large amount of dope, that it's the wrong type of fitting. 

Circled in orange appears to be a galvanized steel nipple, which has tape dope in the threads. First off, that should be a black steel nipple, not a galvanized steel nipple. Second, it's atypical for a gas fitter to use tape dope. This would lead me to believe that the nipple was installed by an amateur. 

I would expect to see a short black steel nipple threaded into the elbow, followed by a valve threaded onto the nipple. The valve should either have a flare fitting, or a flare fitting should be attached to the other side of the valve. The supply piping (commonly a flexible fitting), should attach to the flare fitting.

If this was in my house, I'd remove everything back to the elbow. Then I'd install the proper fittings.