-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages libruby1.8 depends on:
ii libc6 2.7-11 GNU C Library: Shared libraries
ii libncurses5 5.6+20080531-1 Shared libraries for terminal hand
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
libruby1.8 recommends no packages.
-- no debconf information
All my rails apps give the error (full copy in http://pastie.org/209654)
/!\ FAILSAFE /!\ Thu Jun 05 20:17:57 +0100 2008
Status: 500 Internal Server Error
wrong number of arguments (2 for 1)
/usr/lib/ruby/1.8/cgi/session.rb:267:in `respond_to?'
/usr/lib/ruby/1.8/cgi/session.rb:267:in `initialize_without_cgi_reader'
...
line 267 in /usr/lib/ruby/1.8/cgi/session.rb has a comma where I'm sure it should not be!
session_id, = request.cookies[session_key]
--
Paul
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Can you upgrade to version 1.8.7-2 and tell me if it fixed it?
--
| Lucas Nussbaum
| lu...@lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F |
It's in unstable already.
It's just another way to write array[0]:
irb(main):001:0> array = [ 3, 4, 5]
=> [3, 4, 5]
irb(main):002:0> array[0]
=> 3
irb(main):003:0> el, = array
=> [3, 4, 5]
irb(main):004:0> p el
3
=> nil
> I've closed the bug since it does seem to be resolved in 1.8.7-2
Thank you