Update: Fix Rails 6 testing, update README with clearer getting started steps for contributors (#47)

This commit is contained in:
Jonathan Abbett 2021-04-15 10:17:27 -04:00 committed by GitHub
parent b3dbb60b39
commit bfe25af90a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 1 deletions

View File

@ -165,6 +165,20 @@ Create a feature branch (using git-flow) and submit as a pull request.
Everyone interacting in Abraham's codebase, issue tracker, etc. is expected to follow the [Contributor Covenent Code of Conduct](https://www.contributor-covenant.org/version/1/4/code-of-conduct).
### Getting started with the source code
Abraham uses `rvm` with a gemset to ensure the appropriate version of Ruby and its dependencies. Make sure that's installed before you get started.
```
~ git clone git@github.com:actmd/abraham.git
Cloning into 'abraham'...
~ cd abraham
ruby-2.5.3 - #gemset created /Users/jon/.rvm/gems/ruby-2.5.3@abraham
ruby-2.5.3 - #generating abraham wrappers - please wait
~ bundle install
~ yarn install
```
### Testing
#### Testing locally

View File

@ -13,6 +13,9 @@ module Dummy
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.
# This configuration is no longer necessary with Rails 6.1+
unless Rails::VERSION::MAJOR >= 6 && Rails::VERSION::MINOR >= 1
config.active_record.sqlite3.represent_boolean_as_integer = true
end
end
end