12 miles a day is a pretty healthy distance, I would keep the gym membership for now though. You will know after about 2-3 months if its worth tossing. You will need to combine riding with good nutrition though if you are like me. The more sedentary your life WAS before commuting, the harder you are going to have to work, and may need a gym membership still.
Good luck!