From e67136d939ccb37a04568c2508d57c5aeba2c448 Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Tue, 7 May 2013 15:00:25 +0200 Subject: [PATCH] bug #1953: bug in sqlite detection for onedb --- src/onedb/onedb.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/onedb/onedb.rb b/src/onedb/onedb.rb index bc9cbffa70..fb0483d43a 100644 --- a/src/onedb/onedb.rb +++ b/src/onedb/onedb.rb @@ -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