Skip to content

Commit 4e66b25

Browse files
committed
Run "gem update" to avoid Gem::Ext::BuildError
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
1 parent 0d74fcb commit 4e66b25

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,7 @@ matrix:
1818
branches:
1919
only:
2020
- master
21+
before_install:
22+
- 'gem update --system --no-doc'
2123
after_script:
2224
- '[ ${TRAVIS_EVENT_TYPE} != "pull_request" ] && [ ${TRAVIS_BRANCH} = "master" ] && bundle exec codeclimate-test-reporter'

0 commit comments

Comments
 (0)