Better gem version dependencies

and supress gem build warnings