Changing environments for gem file