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名
More than 3 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme