Search code examples
herokurubygemsberkeley-db

Berkeley DB on Heroku


Is there a way to use Berkeley DB from Ruby on Heroku? I know about the bdb gem and a few similar. But Berkeley DB must be installed as a library in advance for these to build.

I am only beginning to learn about Heroku deployment, so apologize if this question is naive. I'm thinking there may be a way to configure bdb as a new gem that includes the BDB sources for building in the cloud. Or perhaps only a pre-compiled BDB static library? Possible?

In case it's handy, this question is related to this one, where I described the problem that Berkeley DB is able to solve, but PostgreSQL can (apparently) not.


Solution

  • It turned out that Redis, which is available on Heroku, has functionality close enough to BerkeleyDB to meet my requirement.