Skip to content

Commit 30bfa23

Browse files
committed
Install gems the same way as the rest of GitHub
1 parent b972cf6 commit 30bfa23

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ tmp
44
.bundle
55
bin
66
crash.log
7+
/vendor/gems/
8+
/bin/
9+
/.bundle/

script/bootstrap

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
#!/bin/sh
22

33
set -e
4+
export CC=gcc
45

56
command -v bundle >/dev/null 2>&1 || { echo >&2 "Bundler required but not found: gem install bundler"; exit 1; }
67

7-
echo "===> Bundling"
8-
bundle install --quiet "$@"
8+
echo "==> Installing gem dependencies…"
9+
bundle check --path vendor/gems 2>&1 > /dev/null || {
10+
bundle install --binstubs bin --path vendor/gems --quiet
11+
}

0 commit comments

Comments
 (0)