Dear all
I try to install gem dbi-0.4.3.gem in Windows. But I get errors as
follows.
Can anyone tell me what is the matter and how to solve it?
Thank you so much.
D:\softwares\Ruby>gem install dbi-0.4.3.gem
ERROR: While executing gem … (RuntimeError)
Error instaling dbi-0.4.3.gem:
dbi requires deprecated >= 2.0.0
D:\softwares\Ruby>ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
D:\softwares\Ruby>gem env
RubyGems Environment:
- VERSION: 0.9.4 (0.9.4)
- INSTALLATION DIRECTORY: d:/ruby/lib/ruby/gems/1.8
- GEM PATH:
- d:/ruby/lib/ruby/gems/1.8
- REMOTE SOURCES:
Your Sincerely
James Wang
On 2009-11-30 10:58, wangxin 46853 wrote:
D:\softwares\Ruby>gem install dbi-0.4.3.gem
ERROR: While executing gem … (RuntimeError)
Error instaling dbi-0.4.3.gem:
dbi requires deprecated>= 2.0.0
$ gem install dbi
Successfully installed deprecated-2.0.1
Successfully installed dbi-0.4.3
2 gems installed
Installing ri documentation for deprecated-2.0.1…
Installing ri documentation for dbi-0.4.3…
Updating ri class cache with 3310 classes…
Installing RDoc documentation for deprecated-2.0.1…
Installing RDoc documentation for dbi-0.4.3…
The dbi-0.4.3 requires deprecated-2.0.0 or above. It was installed
automatically for me as above (on linux)
Maybe you need to install deprecated-2.0.1 manually?