Fixes ruby version and gemset and compilation warning