sqlite3 has gone...

Jej
Thu, 20 Nov 2008 16:47:14 -0000

Hi all,

I''m struggling since hours with sqlite3. Maybe I''m wrong to
post here,
as I feel the problem is not directly related to rails.

After a "gem clean" this morning, mongrel doesn''t want to
start
anymore:

/Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in
`gem_original_require'': no such file to load -- sqlite3
(MissingSourceFile)

But sqlite3-ruby is well installed under gem (I reinstalled to be
sure, desinstalled, resinstalled, etc) but it can''t be loaded: ruby -
rubygems -e "require ''sqlite3''" returns the same
error as above. It
loads well if I cd in the sqlite directory.

Here is my gem env:
----------------------------------------
RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.1
  - RUBY VERSION: 1.8.6 (2008-03-03 patchlevel 114) [universal-
darwin9.0]
  - INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8
  - RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/
Versions/1.8/usr/bin/ruby
  - EXECUTABLE DIRECTORY: /usr/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - universal-darwin-9
  - GEM PATHS:
     - /Library/Ruby/Gems/1.8
     - /Volumes/Maison/.gem/ruby/1.8
     - /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/gems/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://gems.rubyforge.org/
-----------------------------------------------

sqlite is locate here: /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.2.4/

I checked the permissions, as mentioned in some forums. I reinstalled
gem and all the gems that where uninstalled by the cleanup.

I''m locked now, I don''t know what to look for... Any help
welcome.

Thanks,
Jej

--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org