Commit Graph

13 Commits

Author SHA1 Message Date
Josh Nichols 0a2bb55279
Update bin/setup to detect chruby installed from homebrew on M1 (#1483)
With Apple moving to M1, homebrew took the opportunity to change the
install location from /usr/local to /opt/homebrew

So check for /opt/homebrew in addition to /usr/local for a chruby.sh
2022-01-25 09:52:02 -07:00
Leo Arnold 05a6c37c06
Use bundler v2 in development (#1463)
Prior to this commit, the `Gemfile.lock` enforced the use of
Bundler v1.17.3 which was released in 2014.

On Ruby 3, this triggers the following deprecation warning:

```
/home/user/.rvm/gems/ruby-3.0.2@shoulda-matchers/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
```

Since the gem itself in v5.0.0 requires at least Ruby v2.6,
it seems fair to require a recent version of Bundler v2,
which in turn runs of every Ruby v2.3 or later.
2021-10-11 18:08:00 -03:00
Mateusz Swiszcz 0e8c059759 Add RVM (Ruby Version Manager) to setup 2021-03-07 23:06:50 -07:00
Pedro Paiva 3adbbf1317
Fix 'required_ruby_version: unbound variable' (#1373) 2020-12-01 22:35:25 -03:00
Elliot Winkler 74581c4238 Update setup script to install appraisals & fix Bundler 1.x check
[ci skip]
2020-08-23 15:11:34 -06:00
Elliot Winkler 540e7dfee7 Update setup script using latest setup_script_generator
Particularly, the setup script now not only works with asdf but also
prefers it over rbenv for installing Ruby.

[ci skip]
2020-06-13 23:28:20 -06:00
Bill Ruddock 4b7244ac2d Remove heroku from setup
Unused anywhere in this repo
2020-06-13 22:26:09 -06:00
Bill Ruddock ccd539d726 Fix setup script for RedHat based linux
Use rpm= packages passed to install with yum.

Recognise yum in check-for-build-tools
2020-06-13 22:26:09 -06:00
Craig Buchek b7b44a5013 Support for folks using chruby 2019-07-06 00:07:22 -06:00
Craig Buchek 892a912c67 Fix installation of Heroku when using Homebrew 2019-07-06 00:06:42 -06:00
Elliot Winkler 99577107bb Fix setup script so it runs all the way through 2019-05-31 00:12:10 -06:00
Elliot Winkler 2ade5e20ae Lock Bundler to 1.x
Bundler 2.0 was released recently, but none of our lockfiles are
associated with this version — they all refer to Bundler 1.x.
Unfortunately, Travis is now attempting to use Bundler 2.0 by default,
so we have to ensure that it is using the correct version as well.
2019-01-28 19:54:22 -07:00
Elliot Winkler ff14d6ffc4 Update contributor docs, add maintainer docs
* Move section on documentation from README to CONTRIBUTING
* Add a setup script that contributors and maintainers can use to set up
  a dev environment

[skip ci]
2018-10-02 10:17:20 -03:00