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 version
brew services start [email protected]
vi /usr/local/var/[email protected]/postgresql.Change port number in conf(5435)
rails db:create
psql -l -p number
(Put a dump file)
psql -p port number database name< backup_file name
Recommended Posts