travis: Run "gem install" without sudo
authorAnthony Fok <foka@debian.org>
Mon, 2 Apr 2018 04:48:31 +0000 (22:48 -0600)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 2 Apr 2018 06:15:35 +0000 (08:15 +0200)
commiteb15ac37ef6668e298c0c4d8062726cd545da576
treecfa08f29de234a40f8be23b3c29b2c8af23a2afd
parenteb42774e587816b1fbcafbcea59ed65df703882a
travis: Run "gem install" without sudo

Running "sudo gem install" was causing random errors like the following:

ERROR:  While executing gem ... (Errno::EACCES)
    Permission denied @ rb_sysopen - /home/travis/.rvm/gems/ruby-2.4.1/cache/asciidoctor-1.5.6.2.gem

Perhaps sudo is no longer necessary, even on OS X?  :-)
.travis.yml