Bundle: sqlite3 vs. sqlite3-ruby

In various examples and tutorials I’ve see Gemfiles contain

gem 'sqlite3'

or

gem 'sqlite3-ruby', :require => 'sqlite3'

What is the difference? Which should be used in a new Rails application
(3.0.9)?

Matt

I’ve installed sqlite3 and everything is working… but i don’t know the
differences between the two…

On Jun 19, 4:51pm, Matt M. [email protected] wrote:

In various examples and tutorials I’ve see Gemfiles contain

gem ‘sqlite3’

This means load the gem called sqlite3

or

gem ‘sqlite3-ruby’, :require => ‘sqlite3’

this means load the sqlite3-ruby gem, and load the sqlite3.rb file
inside it.

What is the difference? Which should be used in a new Rails application (3.0.9)?

sqlite3-ruby was renamed to sqlite3 (
http://groups.google.com/group/sqlite3-ruby/browse_thread/thread/8b5c607f66f44875
)

Fred

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs