Skip to content

Instantly share code, notes, and snippets.

@digitalm
Last active January 7, 2019 08:59
Show Gist options
  • Save digitalm/c2fef1aa4c22b63532dcca2c1b201049 to your computer and use it in GitHub Desktop.
Save digitalm/c2fef1aa4c22b63532dcca2c1b201049 to your computer and use it in GitHub Desktop.

TL;DR

開発環境は以下のような準備をしていただけるとスムーズかも。
docker未導入なので、モダンでなく、たいへん申し訳ございません 🙇
環境の作成でなにか詰まったり困ったら、当gistにコメントいただるといいかもしれません (が、勤務時間外だと返信が遅くなるかもしれません)

version install example
ruby ruby 2.3.7p456 (2018-03-28 revision 63024) [x86_64-darwin17] rbenv install -v 2.3.7 && rbenv rehash
postgres 9.5.13 brew install postgresql@9.5 && brew switch postgresql@9.5 9.5.13 && postgres -D /usr/local/var/postgresql@9.5
redis 4.0.9 brew install redis
ghostscript 9.22 brew install ghostscript
@kyamaguchi81
Copy link

最終的に下記で ERROR: column "increment_by" does not exist at character 103 が表示されないかたちでpostgresを入れれた

$ brew install postgresql@9.6
$ brew services stop postgresql
$ brew services start postgresql@9.6

$ bundle exec rake db:drop
$ bundle exec rake db:create
$ bundle exec rake db:migrate
$ bundle exec rake db:seed_fu

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