1 post tagged “macports”
After installing Rails (Edge) on OS X, I started getting various errors about 'sqlite3'. So, I decided to do a little research.
It turns out that SQLite3 is the new default (development) database for Rails and is also pre-installed on OS X (>Tiger).
When I tried to install the Ruby bindings, I received:
I found a post that described a fix:
sudo apt-get install sqlite3 libsqlite3-dev
sudo gem install sqlite3-ruby
Of course, this means I have to install apt-get, except that on OS X we use MacPorts.
I don't need sqlite3, so can exclude it.
Well, that didn't work. Apparently, there is no such thing as "libsqlite3-dev" through ports.
I found another post that suggests getting the SQLite3 source code.