This phase I trial studies the side effects and the best dose of Hsp90 inhibitor AUY922 when given together with pemetrexed disodium in treating patients with previously treated stage IV non-small cell lung cancer. Hsp90 inhibitor AUY922 may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth. Drugs used in chemotherapy, such as pemetrexed disodium, work in different ways to stop the growth of tumor cell, either by killing the cells or stopping them from dividing. Giving Hsp90 inhibitor AUY922 together with pemetrexed disodium may kill more tumor cells