From: Shashank Date Date: 2004-08-28T04:21:52+09:00 Subject: Re: Can't get dbi to work? --- Robo wrote: > I'm using WindowsXP, I've downloaded > ruby-dbi-all-0.0.23.tar.gz, and > typed the following commands: > > ruby setup.rb config --with=dbi,dbd_mysql, dbd_odbc > ruby setup.rb setup > ruby setup.rb install > > During the install phrase, I get the following > error: > > entering install phase... > mkdir -p e:/ruby/bin > install sqlsh.rb e:/ruby/bin > install failed > Permission denied - e:/ruby/bin/sqlsh.rb > try "ruby setup.rb --help" for usage > > Since that didn't work, I deleted the dbi > directories from e:\ruby\bin, > and copied the "dbi" and "dbd_mysql" dir to the > folder I'm currently > creating my project in. I will recommend that you delete the files: E:\ruby\bin\sqlsh.rb and E:\ruby\bin\proxyserver.rb Then delete E:\ruby\lib\ruby\site_ruby\1.8\dbi.rb. Finally get rid of the folders: E:\ruby\lib\ruby\site_ruby\1.8\DBD and E:\ruby\lib\ruby\site_ruby\1.8\DBI And then do a clean install again. HTH, > Robo -- shanko _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush