adds active resource to gem lock