Search code examples
rubysqliterubygemssqlite3-ruby

gems: difference between sqlite3 and sqlite3-ruby?


I accidentally ran:

sudo gem install sqlite3

instead of:

sudo gem install sqlite3-ruby

So now when I run gem list I get:

gem list

*** LOCAL GEMS ***

sqlite3 (0.0.7)
sqlite3-ruby (1.2.5)

What is the difference between the two? And do I need both?


Solution

  • sqlite3-ruby is the gem you probably need. It is the only sqlite gem I have installed.

    sqlite3 (0.0.7) is described here: as SQLite3 FFI bindings for Ruby 1.9