Posted By: Jamis Buck
Date: 2007-02-07 04:46
Summary: SQLite3/Ruby 1.2.1
Project: SQLite-Ruby

This is a compatibility release. SQLite3 3.3.8 and above changed the format of the dflt_value column of the table_info pragma, which breaks applications that depend on that metadata (like Ruby on Rails). This release of SQLite3/Ruby modifies the Database#table_info helper such that it checks the libversion and reformats the dflt_value column if necessary. The next release of Rails will use this helper to query the metadata, which will again make it compatible with all known sqlite3 versions.

Latest News
icalendar 1.4.0 Released
    Ryan Ahearn - 2013-05-21 23:17
BinData 1.5.0 - source moved to github
    Dion Mendel - 2013-05-21 11:10
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28
Runt v0.9.0 Released
    Matthew Lipper - 2013-05-17 00:11
kramdown 1.0.2 released
    Thomas Leitner - 2013-05-09 06:58

 

Forums | Admin

Discussion Forums: sqlite3-ruby-1.2.1

Start New Thread Start New Thread

 

By: Roger Pack
RE: Installing under cygwin [ reply ]  
2008-06-06 04:49
what does
/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/ext/sqlite3_api
/gem_make.out
say?
you may need to add a command line option like
gem install sqlite3 -- --with-sqlite-something=/usr/local/sqlite3 or what not...GL :)

By: sinclair bain
Installing under cygwin [ reply ]  
2007-04-02 22:39
Hi,
I am trying to run Rails under cygwin on Windows2000 service pack 4.

I have downloaded the sqlite3 source (c, h and shell.c)
I compiled them under /usr/src/sqlite3
to get an sqlite3.o, and an sqlite3.exe
which seems to work.

When i try to install the gem thus
> gem install -r -y sqlite3-ruby
and
>1
at the version prompt I get an error
------
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

ruby extconf.rb install -r -y sqlite3-ruby
checking for sqlite3.h... no

make
makefile:135: warning: overriding commands for target `.c.o'
makefile:132: warning: ignoring old commands for target `.c.o'
c:\UnixUtils\usr\local\wbin\make.exe: *** No rule to make target `ruby.h', needed by `sqlite3_api_wrap.o'. Stop.


Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/ext/sqlite3_api
/gem_make.out
-----

I am not familiar with the gem install process and wondered if you had any pointers.

Thanks for all and any help.

Cheers!
sinclair bain