浏览 3156 次
锁定老帖子 主题:使用ruby的一些疑问
该帖已经被评为新手帖
|
|
---|---|
作者 | 正文 |
发表时间:2007-01-08
2.在用ror连oracle的时候,老是说oci.dll找不到,我把oracle的bin目录添到环境变量里面还是如此,然后我就把oci.dll放到system32的目录里面,找不到的提示不会弹了,但是会出现以下报错: c:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:49:in `create': ERROR (OCIError) from c:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:49 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/core_ext/kernel/requires.rb:7:in `require_library_or_gem' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/core_ext/kernel/requires.rb:5:in `require_library_or_gem' from c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/oracle_adapter.rb:29 ... 16 levels... from ./Script/../config/boot.rb:28 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from Script/server:4 还请对ror有经验的开发者帮忙解答一下,谢谢! 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2007-01-09
不知道是只有我遇到这样的问题,还是大家曾经都遇到过。知道的说一声啊!
|
|
返回顶楼 | |
发表时间:2007-01-09
关于第一个问题,我blog里详细的说明。
第二个的话我无能为力,因为机器上没装oracle哈,呵呵 |
|
返回顶楼 | |