Skip to content

Commit b47e39a

Browse files
app/ruby: Implicit depdendencies for dalli/pg
This adds implicit dependecies for starting Memcached/PostgreSQL Docker containers when the dalli/pg gems are detected. Needs hashicorp#386 for Memcached example Appfile
1 parent b7f1f43 commit b47e39a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

builtin/app/ruby/app.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ func (a *App) Meta() (*app.Meta, error) {
3232
func (a *App) Implicit(ctx *app.Context) (*appfile.File, error) {
3333
// depMap is our mapping of gem to dependency URL
3434
depMap := map[string]string{
35+
"dalli": "github.com/hashicorp/otto/examples/memcached",
36+
"pg": "github.com/hashicorp/otto/examples/postgresql",
3537
"redis": "github.com/hashicorp/otto/examples/redis",
3638
}
3739

0 commit comments

Comments
 (0)