Skip to content

Instantly share code, notes, and snippets.

@roidrage
Last active December 17, 2015 21:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roidrage/5677930 to your computer and use it in GitHub Desktop.
Save roidrage/5677930 to your computer and use it in GitHub Desktop.
before_install:
- mongo --eval 'db.runCommand({setParameter: 1, textSearchEnabled: true})' admin
@thomaspeklak
Copy link

I needed to quote the line, otherwise I got a yaml error

before_install:
  - "mongo --eval 'db.runCommand({setParameter: 1, textSearchEnabled: true})' admin"

now it's working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment