Skip to content

Commit

Permalink
Update Contributing.md [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
teeparham committed May 27, 2014
1 parent 5acc546 commit 98f08b1
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,25 @@ Fork the repo:

Set up your test database:

`createdb postgis_adapter_test`
```sh
createdb postgis_adapter_test
createuser -s postgres
psql postgis_adapter_test
=# CREATE EXTENSION postgis;
```

`createuser -s postgres`
Make sure the tests pass:

`psql postgis_adapter_test`
`rake`

`=# CREATE EXTENSION postgis;`
Run tests against both ActiveRecord 4.0 and 4.1 test gemfiles:

Make sure the tests pass:
```
BUNDLE_GEMFILE=./travis/ar40.gemfile bundle
BUNDLE_GEMFILE=./travis/ar40.gemfile rake
`rake`
BUNDLE_GEMFILE=./travis/ar41.gemfile bundle
BUNDLE_GEMFILE=./travis/ar41.gemfile rake
```

Make your changes and submit a pull request.

0 comments on commit 98f08b1

Please sign in to comment.