I’ve a problem with the database connectivity. Whenever i’m trying to
load the test.rb file i receive an error like this
/usr/local/lib/site_ruby/1.8/dbi.rb:48:in `require’: no such file to
load – deprecated (LoadError)
It appears when the require ‘dbi’ is given. Can anybody please help?
Arun K. wrote:
I’ve a problem with the database connectivity. Whenever i’m trying to
load the test.rb file i receive an error like this
/usr/local/lib/site_ruby/1.8/dbi.rb:48:in `require’: no such file to
load – deprecated (LoadError)
It appears when the require ‘dbi’ is given. Can anybody please help?
Try installing the ‘deprecated’ gem.
gem install deprecated
On Thu, Mar 12, 2009 at 6:04 PM, Arun K.
[email protected] wrote:
/usr/local/lib/site_ruby/1.8/dbi.rb:48:in `require’: no such file to
load – deprecated (LoadError)
I’m guessing you need the ‘deprecated’ gem.
Not sure why it’s failing on require instead of earlier when the
deprecated gem was loaded…
Oh, line 35 of dbi.rb:
begin
require “rubygems”
gem “deprecated”
rescue LoadError
end
??
Anyway, so you just need:
[sudo] gem install deprecated
solidarity,
lasitha
Pistos C. wrote:
Arun K. wrote:
I’ve a problem with the database connectivity. Whenever i’m trying to
load the test.rb file i receive an error like this
/usr/local/lib/site_ruby/1.8/dbi.rb:48:in `require’: no such file to
load – deprecated (LoadError)
It appears when the require ‘dbi’ is given. Can anybody please help?
Try installing the ‘deprecated’ gem.
gem install deprecated
Thanks Pistos. Now I got it.