0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

rvmとpostgresqlで環境構築まとめ

Last updated at Posted at 2020-11-11
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名
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?