ProgressiveCoders / prog-channels

Purpose: To automate updates to the Channels List Airtable document with info pulled from Slack's API
MIT License
1 stars 2 forks source link

Add rake explicitly to gemfile #6

Open patcon opened 7 years ago

patcon commented 7 years ago

Seems that heroku scheduler always appends commands with bundle exec, and for some reason this fails on heroku without explicitly added rake to gemfile.

related SO thread: https://stackoverflow.com/questions/8176282/bundle-exec-rake-dbmigrate-causes-cant-find-executable-rake-error my fail logs: https://gist.github.com/patcon/8c4154b294e03b0902f60efbcda20ac0

Steps to reproduce:

  1. open console in heroku: heroku run bash
  2. Run: bundle exec rake prog:channels:sync

We should add this.

patcon commented 7 years ago

Closing in favour of open PR with commit