Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jun 2010 10:15:16 GMT
From:      Hartmann@FreeBSD.org, "O." <ohartman@mail.zedat.fu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/147809: databases/ruby-dbi: /usr/local/lib/ruby/site_ruby/1.8/dbi/utils/date.rb:57: undefined method `deprecate' for DBI::Date:Class (NoMethodError)
Message-ID:  <201006121015.o5CAFGV9035603@www.freebsd.org>
Resent-Message-ID: <201006121020.o5CAK1dI076447@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         147809
>Category:       ports
>Synopsis:       databases/ruby-dbi: /usr/local/lib/ruby/site_ruby/1.8/dbi/utils/date.rb:57: undefined method `deprecate' for DBI::Date:Class (NoMethodError)
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 12 10:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Hartmann, O.
>Release:        FreeBSD 8.1-PRE/amd64 and FreeBSD 9.0-CUR/amd64
>Organization:
FU Berlin
>Environment:
>Description:
Using DBI method for DB access (in our case PostgreSQL 8.4.4-server) requiring class 'dbi' immediately results in this error:


/usr/local/lib/ruby/site_ruby/1.8/dbi/utils/date.rb:57: undefined method `deprecate' for DBI::Date:Class (NoMethodError)
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /usr/local/lib/ruby/site_ruby/1.8/dbi/utils.rb:56
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /usr/local/lib/ruby/site_ruby/1.8/dbi.rb:50

>How-To-Repeat:
Install ruby18, install databases/ruby-dbi, require 'dbi' in any ruby script for using DBI class for DB access.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006121015.o5CAFGV9035603>