Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

rvmとpostgresqlで環境構築まとめ

rvm install "ruby-2.3.0"
rvm list
rvm use 2.3.0
ruby -v
rvm gemset create hogehoge
rvm gemset list
rvm gemset use hogehoge
brew search postgresql
brew install バージョン
brew services start postgresql@9.6
vi /usr/local/var/postgresql@9.6/postgresql.confでポート番号変更(5435)
rails db:create
psql -l -p番号
(ダンプファイル入れる)
psql -p ポート番号 database名 < backup_file名
yd43star
rails勉強するぞ!
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away