Had to partially revert sqllite change to stop it.
(Note, I don''t have sqllite).
Gleb
Index: lib/active_record/connection_adapters/sqlite_adapter.rb
==================================================================RCS file:
/var/cvs/activerecord/activerecord/lib/active_record/connection_adapt\
ers/sqlite_adapter.rb,v
retrieving revision 1.25
diff -u -r1.25 sqlite_adapter.rb
--- lib/active_record/connection_adapters/sqlite_adapter.rb 27 Oct 2004 13:10:0\
1 -0000 1.25
+++ lib/active_record/connection_adapters/sqlite_adapter.rb 30 Oct 2004 02:02:2\
7 -0000
@@ -106,11 +106,6 @@
     end
   end
 rescue LoadError
+  retry if require(''rubygems'') rescue LoadError
   # SQLite driver is not availible
-  begin
-    require ''rubygems''
-    retry
-  rescue LoadError
-    # RubyGems is not availible either
-  end
 end
> Had to partially revert sqllite change to stop it.Wups, I had forgotten to commit the fix I made. Which was to rip out the RubyGems backup way. If people want to use gems, they''re already doing it with AR. -- David Heinemeier Hansson, http://www.basecamphq.com/ -- Web-based Project Management http://www.rubyonrails.org/ -- Web-application framework for Ruby http://macromates.com/ -- TextMate: Code and markup editor (OS X) http://www.loudthinking.com/ -- Broadcasting Brain
>>>>> "David" == David Heinemeier Hansson <david-OiTZALl8rpK0mm7Ywyx6yg@public.gmane.org> writes:>> Had to partially revert sqllite change to stop it. David> Wups, I had forgotten to commit the fix I made. Which was David> to rip out the RubyGems backup way. If people want to use David> gems, they''re already doing it with AR. That works. Gleb