Skip to content

Commit

Permalink
Use RACK_ENV instead of PADRINO_ENV
Browse files Browse the repository at this point in the history
`Environment variable PADRINO_ENV is deprecated. Please, use RACK_ENV.`
  • Loading branch information
k-stewart committed May 2, 2018
1 parent 2de7433 commit aaa959e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ before_script:
- cp config/database.rb.example config/database.rb
- sed -i "s@^ :username.*@ :username => 'root',@" config/database.rb
- cp config/phantom-dc_config.rb.example config/phantom-dc_config.rb
- "PADRINO_ENV=test bundle exec rake ar:create ar:schema:load"
- "RACK_ENV=test bundle exec rake ar:create ar:schema:load"
script: bundle exec rspec spec
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ If you haven't set up the test db, create it, using `config/database.rb`
Then you'll need to create and prepare the test database:

```bash
$ PADRINO_ENV=test bundle exec rake ar:create;
PADRINO_ENV=test bundle exec rake ar:schema:load
$ RACK_ENV=test bundle exec rake ar:create;
RACK_ENV=test bundle exec rake ar:schema:load
```

And run
Expand Down

0 comments on commit aaa959e

Please sign in to comment.