Fix gem install issue