Rails 3.1 app can't install sqlite3 gem because libraries are out of date
问题 The latest SQLite3 library available on CentOS 5.6 and which is installed is version 3.3.6. It's my understanding that the sqlite3 gem needs version 3.6 or higher. How do I get my app to work with SQLite3 without upgrading the library on my server? It's in a work environment and I'm simply not allowed to upgrade it. 回答1: You could compile a static library of the version of sqlite you require. Then install the sqlite3 gem with a reference to your new static library. While I haven't tested this