Skip to content

Instantly share code, notes, and snippets.

@santosh79
Created August 14, 2010 22:57
Show Gist options
  • Save santosh79/524808 to your computer and use it in GitHub Desktop.
Save santosh79/524808 to your computer and use it in GitHub Desktop.
Installing required gems & making backup of heroku db
cd;
curl -O http://www.sqlite.org/sqlite-3.7.0.1.tar.gz;
tar xzf sqlite-3.7.0.1.tar.gz;
cd sqlite-3.7.0.1;
./configure --prefix=/usr/local;
make;
sudo make install;
cd .. && rm -rf sqlite-3.7.0.1 && rm sqlite-3.7.0.1.tar.gz;
sudo gem install sqlite3-ruby --no-rdoc --no-ri;
sudo gem install taps --no-rdoc --no-ri;
heroku db:pull sqlite://myapp-backup.db --app your-app-name;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment