Hi,
`-rubygems` option has been removed
https://github.com/rubygems/rubygems/pull/2027/files
Then how about removing `-rubygems` option or use `-rrubygems` option as below.
* Remove `-rubygems` option
$ ruby -e "require 'oci8';
OCI8.new('oracle_enhanced','oracle_enhanced','ORCLPDB1').exec('select
* from dual') do |r| puts r.join(','); end"
X
* Use `-rrubygems`
$ ruby -rrubygems -e "require 'oci8';
OCI8.new('oracle_enhanced','oracle_enhanced','ORCLPDB1').exec('select
* from dual') do |r| puts r.join(','); end"
Replace username, password, and database with your own configurations.
Thanks,
--
Yasuo Honda
--
Yasuo Honda
> --
> You received this message because you are subscribed to the Google Groups "Oracle enhanced adapter for ActiveRecord" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
oracle-enhanc...@googlegroups.com.
> To post to this group, send email to
oracle-...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/oracle-enhanced.
> For more options, visit
https://groups.google.com/d/optout.