- Install RVM
- Install Ruby 1.9.2
$ rvm install 1.9.2
- I had to do this business per the instructions I saw when I ran that command:
$ brew update
$ brew tap homebrew/dupes
$ brew install autoconf automake apple-gcc42
$ rvm pkg install openssl
$ rvm reinstall all --force
- Use Ruby 1.9.2
$ rvm use 1.9.2
- Install
heroku
,taps
,pg
, andsqlite3
(for some reason)
$ gem install heroku
$ gem install taps
$ gem install pg
$ gem install sqlite3
There. Now you can do something cool like:
$ heroku db:pull postgres://localhost/yourdatabase
You should not have to use sudo
on any of those commands.
It took me a long time to realize that I needed to use Ruby 1.9.2 to get this to work.
This is a Solutions Log post.