File: bootstrap

package info (click to toggle)
ruby-will-paginate 4.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 440 kB
  • sloc: ruby: 2,734; sh: 33; makefile: 4
file content (12 lines) | stat: -rwxr-xr-x 414 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
# vi:ft=sh:
set -e

brew install libpq
brew install --skip-post-install mysql@5.7

bundle config --local build.mysql2 -- "$(ruby -r rbconfig -e 'puts RbConfig::CONFIG["configure_args"]' | xargs -n1 | grep with-openssl-dir)"
bundle config --local build.pg -- --with-pg-config=$(brew --prefix libpq)/bin/pg_config
bundle config --local path "$PWD/vendor/bundle"
bundle install
bundle binstubs rspec-core