P
Paul Vudmaska
--------------020501040902090001090901
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
I've just installed dbi on a new host. The install seemed to go
well...--with mysql, etc. No errors.
I'm getting this error trying to connect.
* is not a class/module*
/usr/local/lib/ruby/site_ruby/1.8/dbi/dbi.rb:490:in `load_driver'
/usr/local/lib/ruby/site_ruby/1.8/dbi/dbi.rb:392:in `_get_full_driver'
/usr/local/lib/ruby/site_ruby/1.8/dbi/dbi.rb:372:in `connect'
/usr/local/www/test.daspeachhaus.com/www/default.rbx:12
/usr/local/lib/ruby/site_ruby/1.8/apache/ruby-run.rb:70:in `load'
/usr/local/lib/ruby/site_ruby/1.8/apache/ruby-run.rb:70:in `handler'
Here is my file:
#>default.rbx
#!/usr/local/bin/ruby18/
begin
require 'cgi'
cgi = CGI.new
cgi.header('content-type'=>'text/html')
puts '<html><body>'
require 'dbi'
DBI.connect("dbi:Mysql:database:host",'usr','pwd')
puts '</body></html>'
rescue Exception
$stdout.cancel
se = '<b>' + $!.to_s + '</b><p/>' + [email protected]('<br/>')
puts <<-EOS
<html>
<body>
#{se}
</body>
</html>
EOS
end
Any ideas where I might look to figure this out?
BTW : For anyone looking for a ruby host, you _might_ want to check out
hub.org. They use a virtual machine...meaning.
1) you dont have to worry about sharing the interp w/other hosts
2) you have root access
But they do not have a lot of experience w/ruby.
thank you for any help,
aul
--------------020501040902090001090901--
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
I've just installed dbi on a new host. The install seemed to go
well...--with mysql, etc. No errors.
I'm getting this error trying to connect.
* is not a class/module*
/usr/local/lib/ruby/site_ruby/1.8/dbi/dbi.rb:490:in `load_driver'
/usr/local/lib/ruby/site_ruby/1.8/dbi/dbi.rb:392:in `_get_full_driver'
/usr/local/lib/ruby/site_ruby/1.8/dbi/dbi.rb:372:in `connect'
/usr/local/www/test.daspeachhaus.com/www/default.rbx:12
/usr/local/lib/ruby/site_ruby/1.8/apache/ruby-run.rb:70:in `load'
/usr/local/lib/ruby/site_ruby/1.8/apache/ruby-run.rb:70:in `handler'
Here is my file:
#>default.rbx
#!/usr/local/bin/ruby18/
begin
require 'cgi'
cgi = CGI.new
cgi.header('content-type'=>'text/html')
puts '<html><body>'
require 'dbi'
DBI.connect("dbi:Mysql:database:host",'usr','pwd')
puts '</body></html>'
rescue Exception
$stdout.cancel
se = '<b>' + $!.to_s + '</b><p/>' + [email protected]('<br/>')
puts <<-EOS
<html>
<body>
#{se}
</body>
</html>
EOS
end
Any ideas where I might look to figure this out?
BTW : For anyone looking for a ruby host, you _might_ want to check out
hub.org. They use a virtual machine...meaning.
1) you dont have to worry about sharing the interp w/other hosts
2) you have root access
But they do not have a lot of experience w/ruby.
thank you for any help,
--------------020501040902090001090901--