Peter Vandenabeele wrote in post #971136:
> Frederick Cheung wrote in post #971035:
>> On Dec 28, 1:24am, Richard Myers <movesmy...@gmail.com> wrote:
>>> hello all,
>>> this is driving me crazy, and i have tried everything and looked
>>> everywhere and i cannot resolve this problem.
>>>
>>> when i do bundle install in a rails app, i get an error "Failed to
>>> build gem native extension" during sqlite3. i have included the entire
>>> error below.
>>> i have rails 3.0.3, ruby 1.8.7, and sqlite3 installed (although i cant
>>
>> Do you have sqlite3 3.6.16 as the error message asks? If you aren't
>> fussy you could install an earlier version of sqlite3-ruby (that is
>> happy with the version you do have)
>
> As an indication, this is the version I see on Ubuntu 10.04
> (version 3.6.22 which is higher than the required 3.6.16).
>
> peterv@ASUS:~$ dpkg -l 'sqlite*'
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name Version Description
> +++-==============-==============-============================================
> ii sqlite3 3.6.22-1 A command line interface for SQLite 3
> un sqlite3-doc <none> (no description available)
Sorry for replying to my own post.
For completeness: you probably also need the libsqlite3-* and related
-dev packages, so below is a better list of relevant sqlite3 packages I
have installed here (on Ubuntu 10.04).
On which Operating System do you see this problem ?
peterv@ASUS:~$ dpkg -l '*sqlite*' | grep ^ii
ii libdbd-sqlite3-perl 1.29-1
Perl DBI driver with a self-contained RDBMS
ii libmono-sqlite2.0-cil 2.4.4~svn151842-1ubuntu4
Mono Sqlite library (for CLI 2.0)
ii libsqlite0 2.8.17-6build2
SQLite shared library
ii libsqlite3-0 3.6.22-1
SQLite 3 shared library
ii libsqlite3-dev 3.6.22-1
SQLite 3 development files
ii libsqlite3-ruby 1.2.4-2.1
SQLite3 interface for Ruby
ii libsqlite3-ruby1.8 1.2.4-2.1
SQLite3 interface for Ruby 1.8
ii sqlite3 3.6.22-1
A command line interface for SQLite 3
HTH,
Peter
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment