Skip to content

Commit

Permalink
Run "gem update" to avoid Gem::Ext::BuildError
Browse files Browse the repository at this point in the history
The following error occurs when installing rainbow gem:

```
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    can't modify frozen String
```
ref. ku1ik/rainbow#49
  • Loading branch information
yasaichi committed Jan 31, 2017
1 parent 0d74fcb commit 4e66b25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ matrix:
branches:
only:
- master
before_install:
- 'gem update --system --no-doc'
after_script:
- '[ ${TRAVIS_EVENT_TYPE} != "pull_request" ] && [ ${TRAVIS_BRANCH} = "master" ] && bundle exec codeclimate-test-reporter'

0 comments on commit 4e66b25

Please sign in to comment.