It is your responsibility as the homeowner to ensure that codes are up to date and/or to have the gas lines connected or reconnected. RiteRug is not responsible for codes being up to date or for gas shut off or gas line repair.
Note that not all flooring installations require gas shut off.