Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit d0a9f47

Browse files
committed
Fixed workflow to not use sudo by using rvm 🚀
1 parent 1bf5f8e commit d0a9f47

File tree

3 files changed

+6
-33
lines changed

3 files changed

+6
-33
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
language: node_js
22
node_js:
33
- "8"
4-
before_install:
5-
- rvm install 2.4.1
64
env:
75
global:
86
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true

_scripts/install.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
npm install --global gulp-cli@2.0.1
55
npm install --global flow-typed@2.5.1
66

7+
# Install rvm
8+
gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
9+
curl -sSL https://get.rvm.io | bash -s stable --ruby
10+
source /Users/chicio/.rvm/scripts/rvm
11+
712
# Install gem dependecies
8-
sudo gem install bundler -n /usr/local/bin
13+
sudo gem install bundler
914
bundle install --path vendor/bundle

npm-debug.log.3059896398

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)