I am new to Ruby on Rails. I have installed it and Ruby on a Windows Vista system. The command below works but only if run
from the directory below. If I run the command from any other folder, I get the message "ruby: No such file or directory -- oci8 (LoadError):
This seems like somthing is not in the PATH. Does a reference to the OCI8 need to be in a PATH somewhere. Any pointers would be appreciated
C:\appRR\ruby\lib\ruby\gems\1.8\gems\ruby-oci8-2.0.4-x86-mingw32\lib>ruby -rubygems -r oci8 -e "OCI8.new('scott', 'tiger').exec('select * from emp') do |r| puts r.join(','); end"