Hi i'm using Ruby and Sqlite3, the program have to modificate the database,
and then run it. Wel, when i modificate a registry and then i run the
program it shows me this error:
================ SQLite3::CantOpenException =====================
c:/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1-mswin32/lib/sqlite3/errors.rb:
94:in `check'
raise(( EXCEPTIONS[result] || SQLite3::Exception ), msg)
c:/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1-mswin32/lib/sqlite3/database.r
b:112:in `initialize'
Error.check( result, self, "could not open database" )
C:\Documents and Settings\Administrator\Desktop\New Developers\App.rbw:58:in
`op
en'
db_rbt = SQLite3::Database.open( "#{path}" )
C:\Documents and Settings\Administrator\Desktop\New Developers\App.rbw:58
db_rbt = SQLite3::Database.open( "#{path}" )
=============================================
Exception: could not open database: unable to open database file
If i run it again it dosen't have any problem, so i think that it dosen't
close the database or something, if someone knows how to fix it i wish your
ask!
Thanks!!
--
View this message in context:
http://www.nabble.com/Ruby-and-Sqlite3-tf4335083.html#a12346344
Sent from the SQLite mailing list archive at Nabble.com.
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------