Skip to content

Updated documentation on setting up the buildpack #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,28 @@ linked correctly. For example, in a ruby app, you may add to the Procfile: `rele

## Install

First set your regular buildpack if you are relying on it beeing autodetected and have not set it explicitly. For example if using ruby:

```bash
heroku buildpacks:set heroku/ruby
```

Use master

```bash
heroku buildpacks:set --index 1 https://github.com/rails-sqlserver/heroku-buildpack-freetds
heroku buildpacks:add --index 1 https://github.com/rails-sqlserver/heroku-buildpack-freetds
```

or use a stable tag, like [v1.1.5](https://github.com/rails-sqlserver/heroku-buildpack-freetds/tree/v1.1.5)

```bash
heroku buildpacks:set --index 1 https://github.com/rails-sqlserver/heroku-buildpack-freetds#v1.1.5
heroku buildpacks:add --index 1 https://github.com/rails-sqlserver/heroku-buildpack-freetds#v1.1.5
```
If you get an error like "zsh: no matches found:" , try wrapping the url in quotes to make it work.

The end result you ar looking for when viewing your buildpacks (using `heroku buildpacks`) is something like this:
1. https://github.com/rails-sqlserver/heroku-buildpack-freetds
2. heroku/ruby

## Changelog

Expand Down