Hi, I have done the following: - installed JRuby 1.1.1 (added the JAVA_HOME variable to the PATH) - installed the Oracle 8 Thin client files (and added the appropriate location to the PATH system variable) - installed the Ruby Oracle interface files: C:>jruby oci8-1.0.0-mswin32.rb (I am using Windows VISTA) this copied the OCI8.rb to .../site_ruby/1.8/DBD/OCI8 this copied the oci8.rb to .../site_ruby/1.8 this copied the oci8lib.so to .../site_ruby/1.8/java But when it is time to run the program that has require 'oci8', I get the following error: -- no such file to load -- oci8lib (LoadError) I have all this working with Ruby...and the only difference I can see is that the oci8lib.so file is copied to ...site_ruby/1.8/i386-msvcrt instead. This difference seems appropriate. Any help? Thanks!
on 29.04.2008 20:40
on 03.05.2008 15:45
N. F. wrote: > this copied the oci8lib.so to .../site_ruby/1.8/java > > But when it is time to run the program that has require 'oci8', I get > the following error: > -- no such file to load -- oci8lib (LoadError) > > I have all this working with Ruby...and the only difference I can see is > that the oci8lib.so file is copied to ...site_ruby/1.8/i386-msvcrt > instead. This difference seems appropriate. JRuby does not support the normal Ruby C extensions, unfortunately, but you can just use Oracle JDBC drivers or ActiveRecord+Oracle JDBC. - Charlie --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email