Parsedate (LoadError) 1.9.2

Hi,

siddharth@jupiter:~/tools$ ~/tools/mri-186-p420/bin/ruby -rparsedate
-e "p ParseDate.parsedate('08-09')"
[8, 9, nil, nil, nil, nil, nil, nil]
siddharth@jupiter:~/tools$ ~/tools/mri-187-p302/bin/ruby -rparsedate
-e "p ParseDate.parsedate('08-09')"
[nil, nil, 8, nil, nil, nil, "-09", nil]

siddharth@jupiter:~/tools$ ~/tools/mri-192-p0/bin/ruby -rparsedate -e
"p ParseDate.parsedate('08-09')"
<internal:lib/rubygems/custom_require>:29:in `require': no such file
to load -- parsedate (LoadError)
        from <internal:lib/rubygems/custom_require>:29:in `require'

What is going wrong in case of 1.9.2?

irb also fails.

  siddharth@jupiter:~/tools$ ~/tools/mri-192-p0/bin/irb
  irb(main):001:0> require 'parsedate'
  LoadError: no such file to load -- parsedate
          from <internal:lib/rubygems/custom_require>:29:in `require'
          from <internal:lib/rubygems/custom_require>:29:in `require'
          from (irb):1
          from /home/siddharth/tools/mri-192-p0/bin/irb:12:in `<main>'
  irb(main):002:0>

- Siddharth

parsedate has been removed in 1.9.2.
just simply use date...

kind regards -botp

···

On Thu, Dec 16, 2010 at 3:13 PM, Siddharth Karandikar <siddharth.karandikar@gmail.com> wrote:

What is going wrong in case of 1.9.2?