Hi there, after upgrading to Tiger (i really love it) i have a problem with my rails applications. For every database related action the console throws something like: //-- EOFError: End of file reached /usr/lib/ruby/1.8/readbytes.rb:18:in `readbytes'' /usr/lib/ruby/gems/1.8/gems/postgres-pr-0.4.0/lib/postgres-pr/ message.rb:32:in `read'' /usr/lib/ruby/gems/1.8/gems/postgres-pr-0.4.0/lib/postgres-pr/ connection.rb:30:in `initialize'' /usr/lib/ruby/gems/1.8/gems/postgres-pr-0.4.0/lib/postgres-pr/ connection.rb:29:in `loop'' /usr/lib/ruby/gems/1.8/gems/postgres-pr-0.4.0/lib/postgres-pr/ connection.rb:29:in `initialize'' /usr/lib/ruby/gems/1.8/gems/postgres-pr-0.4.0/lib/postgres-pr/ postgres-compat.rb:23:in `new'' /usr/lib/ruby/gems/1.8/gems/postgres-pr-0.4.0/lib/postgres-pr/ postgres-compat.rb:23:in `initialize'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/ active_record/connection_adapters/postgresql_adapter.rb:36:in `connect'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/ active_record/connection_adapters/postgresql_adapter.rb:36:in `postgresql_connection'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/ active_record/connection_adapters/abstract_adapter.rb:136:in `send'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/ active_record/connection_adapters/abstract_adapter.rb:136:in `connection='' /usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/ active_record/connection_adapters/abstract_adapter.rb:100:in `retrieve_connection'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/ active_record/base.rb:235:in `connection'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/ active_record/fixtures.rb:213:in `create_fixtures'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/ active_record/fixtures.rb:475:in `load_fixtures'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/ active_record/fixtures.rb:432:in `setup'' --// I have installed all the fixes provided on rubyonrails.org and i found elsewhere. The application itself seems running well and of course my postgres installation is doing its job also. Does this misbehaviour belong to the readline fault shipped with the Ruby-Tiger? Many thanks .bjoern
On May 22, 2005, at 7:13 AM, Björn Wolf wrote:> after upgrading to Tiger (i really love it) i have a problem with > my rails applications. For every database related action the > console throws something like:I''m running the same setup but with the C bindings (''gem install postgres'' or ''port install rb-postgres'') rather than the pure-Ruby postgres-pr bindings. Works like a charm.. Best, jeremy
Hi Jeremy, switching over from postgres-pr to the C bindings did the trick. Thanks. Am 22.05.2005 um 23:20 schrieb Jeremy Kemper:> On May 22, 2005, at 7:13 AM, Björn Wolf wrote: > >> after upgrading to Tiger (i really love it) i have a problem with >> my rails applications. For every database related action the >> console throws something like: >> > > I''m running the same setup but with the C bindings (''gem install > postgres'' or ''port install rb-postgres'') rather than the pure-Ruby > postgres-pr bindings. Works like a charm.. > > Best, > jeremy > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > !DSPAM:4290f792421757088313018! > >-- lm:streaming solutions | levetzowstrasse 10a | 10555 berlin ceo: bjoern wolf | dennis oelkers telephone: +49-30-22430275 | mail: info-TFyySJyCJcUbwZ3undymew@public.gmane.org