bug #1953: bug in sqlite detection for onedb

This commit is contained in:
Javi Fontan committed 2013-05-07 15:00:25 +02:00
1 parent 62efd7e143
commit e67136d939
1 file changed
+3 -3
+3 -3
View File
@@ -20,10 +20,10 @@ class OneDB
def initialize(ops)
if ops[:backend] == :sqlite
begin
require 'sqlite3-ruby'
require 'sqlite3'
rescue LoadError
STDERR.puts "Ruby gem sqlite3-ruby is needed for this operation:"
STDERR.puts " $ sudo gem install sqlite3-ruby"
STDERR.puts "Ruby gem sqlite3 is needed for this operation:"
STDERR.puts " $ sudo gem install sqlite3"
exit -1
end