![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi i have ruby 1.9.2 and have installed dbi 0.4.5 when i tried to run a sample ruby file to get mysql version i got following erros.i have referred many sites,cannt clear,Plz guide me. --------------------------------------------------------------- mmp@mmp-Lenovo-G560:~$ ruby simple.rb internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- parsedate (LoadError) from<internal:lib/rubygems/custom_require>:29:in `require' from /usr/local/lib/site_ruby/1.9.1/dbi/sql.rb:9:in `<module BI>'from /usr/local/lib/site_ruby/1.9.1/dbi/sql.rb:7:in `<top (required)>' from<internal:lib/rubygems/custom_require>:29:in `require' from<internal:lib/rubygems/custom_require>:29:in `require' from /usr/local/lib/site_ruby/1.9.1/dbi.rb:37:in `<top (required)>' from<internal:lib/rubygems/custom_require>:29:in `require' from<internal:lib/rubygems/custom_require>:29:in `require' from simple.rb:4:in `<main>' --------------------------------------------------------------- Hope u will help me to clear this... |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Thanks for ur reply. have installed dbi to connect ruby with mysql...But still cannt connect.. How to connect to ruby with mysql....... |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
yes i have mysql and running well.. |
#7
| |||
| |||
|
#8
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |