Skip to content

Commit 16a6457

Browse files
authored
Fixing Gemfile bundle dependency and bin/setup (#30)
1 parent a4ea22b commit 16a6457

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

bin/setup

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,16 @@
22

33
[[ -x bin/deps ]] && source bin/deps
44

5-
[[ -z ${BashMatic} ]] && {
5+
[[ -z ${BashMatic} ]] && {
66
echo "Failed to initialize BASH library."
77
exit 1
88
}
99

1010
# abort on error
1111
run::set-all abort-on-error
1212

13-
# install rubocop
14-
lib::gem::install relaxed-rubocop
13+
lib::gem::cache-refresh
1514
lib::gem::install rubocop
16-
17-
[[ -f .rubocop.yml ]] || {
18-
info "Setting up .rubocop.yml file..."
19-
echo "
20-
inherit_gem:
21-
relaxed-rubocop: .rubocop.yml
22-
" > .rubocop.yml
23-
run "git add .rubocop.yml"
24-
}
15+
lib::gem::install relaxed-rubocop
2516

2617
[[ -L .git/hooks/pre-commit ]] || run "ln -nfs bin/pre-commit .git/hooks/pre-commit"
27-

0 commit comments

Comments
 (0)