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

Discussion in 'Ruby' started by bill, Jan 6, 2006.

  1. bill

    bill Guest

    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.
    bill, Jan 6, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Luke Kenneth Casson Leighton
    Replies:
    0
    Views:
    457
    Luke Kenneth Casson Leighton
    Dec 31, 2008
  2. charles cashion

    css conflict (or html conflict)

    charles cashion, Feb 18, 2009, in forum: HTML
    Replies:
    2
    Views:
    778
    charles cashion
    Feb 18, 2009
  3. Thursday
    Replies:
    4
    Views:
    102
    Adeodato Simó
    Dec 20, 2004
  4. jc
    Replies:
    0
    Views:
    106
  5. John
    Replies:
    10
    Views:
    233
    J. Gleixner
    Mar 26, 2009
Loading...

Share This Page