mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-27 06:03:25 +00:00
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? :-)
This commit is contained in:
parent
eb42774e58
commit
eb15ac37ef
1 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
language: go
|
||||
sudo: required
|
||||
sudo: false
|
||||
dist: trusty
|
||||
go:
|
||||
- 1.9.4
|
||||
|
@ -21,5 +21,7 @@ script:
|
|||
- ./hugo -s docs/
|
||||
- ./hugo --renderToMemory -s docs/
|
||||
before_install:
|
||||
# gem install must be run with sudo on OSX
|
||||
- sudo gem install asciidoctor | gem install asciidoctor
|
||||
- which asciidoctor || true
|
||||
- gem install asciidoctor
|
||||
- which asciidoctor || true
|
||||
- type asciidoctor || true
|
||||
|
|
Loading…
Reference in a new issue