Removing gem dependency