Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
bricesanchez committed Aug 28, 2017
1 parent 496b8d8 commit 1da0f74
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/guides/7 - Hosting and Deployment/1 - Heroku.md
Expand Up @@ -46,19 +46,21 @@ If you have already built a Refinery application locally, you'll need to make so

You don't have to change your local database settings to use PostgreSQL, but Heroku depends on the presence of the `pg` gem. So, in your Gemfile, change:


gem 'sqlite3' # or whatever the database driver for your local database is

```ruby
gem 'sqlite3' # or whatever the database driver for your local database is
```

to:

```ruby
group :development, :test do
gem 'sqlite3'
end

group :production do
gem 'pg'
end
```

__WARNING__: Using differing databases for development and production is not recommended. Occasionally, specific Rails idioms may have different effects on different databases. We encourage you to set up and develop on PostgreSQL if you intend to deploy your application to Heroku.

Expand Down

0 comments on commit 1da0f74

Please sign in to comment.