Created
November 27, 2014 07:30
-
-
Save satomixx/ac6e99cb95ef055049fb to your computer and use it in GitHub Desktop.
[Rails 4.x] Rails アプリをWerckerを通してHerokuに上げる際に -bash: heroku: command not found とかなった場合の対応。 ref: http://qiita.com/tsumekoara/items/62cfa777b108acb5659f
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ heroku run:detached rake db:migrate --app $APP_NAME | |
-bash: heroku: command not found |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deploy: | |
steps: | |
- heroku-deploy: | |
install-toolbelt: true #ここ! | |
- script: | |
name: Migrate DB | |
code: heroku run rake db:migrate --app $APP_NAME | |
- script: | |
name: Update assets | |
code: heroku run rake add_static_assets --app $APP_NAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment