Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > ruby install conflict and ruby-dbi-all on debian 3.1

Reply
Thread Tools

ruby install conflict and ruby-dbi-all on debian 3.1

 
 
bill
Guest
Posts: n/a
 
      01-06-2006
Hi there,

I am running debian 3.1(sarge, I think).
I need to be able to connect to mysql, Postgres & Oracle.
I can connect to postgres & Mysql but Oracle (to a remote host) is
proving a pain.

Following problems and looking on forums I have done the following ruby
install.

apt-get install ruby ruby1.8 ruby1.8-examples libyaml-ruby1.8
libdbm-ruby1.8 libopenssl-ruby1.8
liberb-ruby1.8 libsyslog-ruby1.8 libtest-unit-ruby1.8
ruby1.8-dev libruby1.8 libiconv-ruby1.8

installed rubygems

apt-get install libdbd-pg-ruby

apt-get install libdbd-mysql-ruby

ruby-dbi-all
This said it could not find sqlite library !
So I did:
ruby setup.rb config --with=dbi,dbd_oracle

However, there appers to a conflict:

ls -l /usr/lib/ruby/1.8/DBD
total 8
drwxr-xr-x 2 root root 4096 2006-01-05 16:15 Mysql
drwxr-xr-x 2 root root 4096 2006-01-05 16:15 Pg

ls -l /usr/local/lib/site_ruby/1.8/DBD
total 4
drwxr-sr-x 2 root staff 4096 2006-01-05 17:34 Oracle

Why are they in different places ?
I am assuming this is my problem.

I have tried commands like:
ruby setup.rb config --with=dbi,dbd_oracle
--bin-dir=/usr/lib/ruby/1.8
but these do not appear to have worked.

Any help appreciated.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
css conflict (or html conflict) charles cashion HTML 2 02-18-2009 09:41 PM
[ANN] Builds of PyWebkitGtk and Webkit-Glib-Gtk(r39359+#16401.master) for Debian i386,Debian AMD64 and Macports MacOSX 10.4 Luke Kenneth Casson Leighton Python 0 12-31-2008 08:23 PM
[ANN] Debian ruby-full package - a full installation of Ruby vince.hetk@gmail.com Ruby 1 05-28-2007 05:08 PM
Please advise...Install Ruby from Debian Package or Source? Thursday Ruby 4 12-20-2004 01:40 AM
[Debian] Upgrading to kernel 2.6 in Debian DUser NZ Computing 0 01-11-2004 12:38 AM



Advertisments