Inst. of sqlite3

M

mosar

Hi!
As a first step the installation goes smoothly (with sudo apt-get
install sqlite3). (My system is ubuntu)
Afterwards when I type
require 'rubygems'
require 'sqlite3'
puts "It's all okay" if defined?(SQlite3::Datebase)
nothing appears in the window.
Could you help me ?

Mosar
 
T

Thomas Preymesser

[Note: parts of this message were removed to make it a legal post.]

2009/8/28 mosar said:
puts "It's all okay" if defined?(SQlite3::Datebase)


ruby is case sensitive:

puts "It's all okay" if defined?(SQLite3::Database)

-Thomas

--
Thomas Preymesser
(e-mail address removed)
http://thopre.googlepages.com/
http://thopre.wordpress.com/

Charles de Gaulle<http://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html>
- "The better I get to know men, the more I find myself loving dogs."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top