Professional Web Applications Themes

dbdbd installation help please - Ruby

has anyone successfully installed dbdbd? this program has just the right level of simplicity and power for what i want to do (manage a small to medium-sized flat file database). i have downloaded and unzipped it onto my single-user machine and when i try and install it using "ruby install.rb" as root (as per the doentation included with the program) i get the following error message : install.rb:10: undefined method '+' for nil (Name Error) line 10 in install.rb looks like this : dest = Config::CONFIG["sitelibdir"] + File::SEPARATOR + source am i missing a library i need in order to ...

  1. #1

    Default dbdbd installation help please

    has anyone successfully installed dbdbd? this program has just the right level of simplicity and
    power for what i want to do (manage a small to medium-sized flat file database).

    i have downloaded and unzipped it onto my single-user machine and when i try and install it using
    "ruby install.rb" as root (as per the doentation included with the program) i get the following
    error message :

    install.rb:10: undefined method '+' for nil (Name Error)

    line 10 in install.rb looks like this :
    dest = Config::CONFIG["sitelibdir"] + File::SEPARATOR + source

    am i missing a library i need in order to install this program? or is it something else that is so
    obvious that i'm not seeing it?

    thanks

    joe

    ps. i am running ruby 1.6.2 on linux.
    Joseph Guest

  2. #2

    Default Re: dbdbd installation help please

    On Fri, 26 Dec 2003 08:57:06 -0700, Joseph Paish wrote:
     

    1.6.2? Really? It's possible that such an old version of Ruby didn't
    define the 'sitelibdir' entry. I'd try upgrading to 1.8.1 and then
    installing dbdbd.
    Tim Guest

  3. #3

    Default Re: dbdbd installation help please

    >>>>> "J" == Joseph Paish <edmonton.ab.ca> writes:

    J> ps. i am running ruby 1.6.2 on linux.

    It's too old your ruby :-)

    svg% ruby -v
    ruby 1.6.2 (2000-12-25) [i686-linux]
    svg%

    we are in 2003, you are sure that you don't want update it ?

    J> dest = Config::CONFIG["sitelibdir"] + File::SEPARATOR + source

    here the reason

    svg% ruby -rrbconfig -e 'p Config::CONFIG["sitelibdir"]'
    nil
    svg%

    this variable was not defined in 2000


    Guy Decoux


    ts Guest

  4. #4

    Default Re: dbdbd installation help please

    I also have tried installing dbdbd and I am running ruby 1.8.0
    Using insert I get the following
    /usr/lib/ruby/site_ruby/1.8/dbdbd.rb:113: warning: Object#type is deprecated;
    use Object#class

    I also get undefined methods 'fields'

    On Fri, 26 Dec 2003 16:04:29 +0000, Tim Hunter wrote:
     
    >
    > 1.6.2? Really? It's possible that such an old version of Ruby didn't
    > define the 'sitelibdir' entry. I'd try upgrading to 1.8.1 and then
    > installing dbdbd.[/ref]

    --
    Ed Redman
    ca
    Scouts Canada
    Commissioner Forest Lakes

    Ed Guest

  5. #5

    Default Re: dbdbd installation help please

    Hi --

    On Sat, 27 Dec 2003, Ed Redman wrote:
     

    Ugh. Let me look into it. It won't be immediately though... but can
    you send me some sample non-working code?

    Thanks --


    David

    --
    David A. Black
    net


    David Guest

  6. #6

    Default Re: dbdbd installation help please

    Hi --

    On Sat, 27 Dec 2003, Ed Redman wrote:
     

    I've now looked at it and, I hope, massaged things back to working
    order. Let me know if otherwise. I've put version 0.2.2 up on RAA,
    or you can go straight to <http://knossos.shu.edu/dblack/dbdbd>.


    David

    --
    David A. Black
    net


    David Guest

Similar Threads

  1. New Installation
    By tbs1662 in forum Macromedia Flash Flashcom
    Replies: 0
    Last Post: April 24th, 05:20 PM
  2. Installation on Win2k3 SP1 Installation of ODBC serviceshangs forever
    By BadMrFrosty in forum Coldfusion Server Administration
    Replies: 1
    Last Post: May 16th, 08:29 PM
  3. MX 6 and MX 7 installation
    By Michael in forum Macromedia ColdFusion
    Replies: 0
    Last Post: March 14th, 09:27 AM
  4. [PHP] Installation
    By Marek Kilimajer in forum PHP Development
    Replies: 0
    Last Post: September 19th, 11:52 AM
  5. Installation of Win XP on a different PC
    By Jupiter Jones [MVP] in forum Windows Setup, Administration & Security
    Replies: 2
    Last Post: July 21st, 05:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139