Coder Social home page Coder Social logo

ruby-oci8's Introduction

Ruby-oci8

Gem Version Tests

What is ruby-oci8

Ruby-oci8 is a ruby interface for Oracle Database. The latest version is available for all Oracle versions after Oracle 10g including Oracle Instant Client.

Use ruby-oci8 2.0.6 for Oracle 8 or use ruby-oci8 2.1.8 for Oracle 9i.

Note that ruby 1.8 support was dropped in ruby-oci8 2.2.0. Use ruby-oci8 2.1.8 for ruby 1.8.

What's new

See {file:NEWS}.

Sample one-liner

When you have an Oracle database server to which sqlplus scott/tiger can connect and scott user has emp table, you can select emp and print rows as CSV by the followig one liner.

ruby -r oci8 -e "OCI8.new('scott', 'tiger').exec('select * from emp') do |r| puts r.join(','); end"

Homepage

Installation

  • {file:docs/install-full-client.md Install for Oracle Full Client}
  • {file:docs/install-instant-client.md Install for Oracle Instant Client}
  • {file:docs/install-binary-package.md Install Binary Package}
  • {file:docs/install-on-osx.md Install on OS X}

Report issues

Other documents

  • {file:docs/number-type-mapping.md Number Type Mapping between Oracle and Ruby}
  • {file:docs/timeout-parameters.md Timeout Parameters}
  • {file:docs/conflicts-local-connections-and-processes.md Conflicts between Local Connections and Child Process Handling on Unix}
  • {file:docs/hanging-after-inactivity.md Hanging After a Long Period of Inactivity}
  • {file:docs/bind-array-to-in_cond.md Bind an Array to IN-condition}
  • {file:docs/ldap-auth-and-function-interposition.md LDAP Authentication and Function Interposition}

License

  • {file:COPYING 2-clause BSD-style license} from ruby-oci8 2.1.3
  • {file:COPYING_old old Ruby license} until 2.1.2

ruby-oci8's People

Contributors

bjfish avatar factcondenser avatar greenfieldtech-davidb avatar javornikolov avatar koic avatar kubo avatar lefnord avatar milespomeroy avatar nathanbwright avatar scottillogical avatar seanhussey avatar seansith avatar timon avatar tomasjura avatar yahonda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ruby-oci8's Issues

Ruby-oci8 2.1.4 crashes while connecting to an Oracle instance if password is an empty string

I have the following behaviour in the IRB console as well as in my Rails app running with apache with Passenger.

When trying to connect to an oracle instance without password, the IRB console crashes (like in "crash!", i'm kicked back to my terminal and forced to restart the console).

It took me a while to figure it out but if the password is an empty String (""), I have a return from the gem stating a OCI-21500 Oracle error and then the console die. When the empty string is replaced by nil, I just get a ruby TypeError Exception saying it can not be converted to a String.

Here is the tests I ran in the IRB console:

> db = OCI8.new(my_login, "some_password", my_tns)
OCIError: ORA-01017: invalid username/password; logon denied
> db = OCI8.new(my_login, nil, my_tns)
TypeError: can't convert nil into String
> db = OCI8.new(src.login, "", src.tns)
Errors in file :
OCI-21500: internal error code, arguments: [kpuqinit-0], [], [], [], [], [], [], []
����������[... snip ...]�����`~C���`~C���`~C���`~C���`~C���`~C���`~C���`~C���Errors in file :
OCI-21500: internal error code, arguments: [kgepop: no error frame to pop to], [], [], [], [], [], [], []
OCI-21500: internal error code, arguments: [kpuqinit-0], [], [], [], [], [], [], []
������[... snip ...]�� }C��� }C��� }C��� }C��� }C��� }C��� }C��� }C���Errors in file :
OCI-21500: internal error code, arguments: [kgepop: no error frame to pop to], [], [], [], [], [], [], []
OCI-21500: internal error code, arguments: [kpuqinit-0], [], [], [], [], [], [], []
��F�����F�����F�����F����[... snip ...]��P~C���P~C���P~C���P~C���P~C���P~C���P~C���P~C���mad@madness:~$

OCI8.new hangs intermittently

Experiencing an intermittent issue when executing OCI8.new()

I can (intermittently) reproduce in the rails console
bash-3.2$ rails c
Loading development environment (Rails 3.0.9)
1.9.3-p448 :001 > OCI8.new()

or from the command line
$ruby -rubygems -e "require 'oci8'; OCI8.new()

in either case the command hangs and simple does not return (I have to kill the process)

Here is some info on versions
rails: 3.0.9
ruby: 1.9.3p448
ruby-oci8: 2.1.0
Oracle Instant Client: 12.1 64bit

If I kill the process and try OCI8.new() again it will often start working and return the connection, which then works perfectly (.exec works etc). After OCI8.new has worked once I can continue to create new connections without problem. Then ... at some point in the future .. usually after being idle for some time the same issue will be encountered (a new OCI8.new() fails to return)

I have tested the target machine hosting the db is accessible (ping / traceroute etc) during the times when OCI8 hangs. Also I can call OCI8.new with the wrong login details and it will come back with an authentication error, but a call with the correct login details straight after can hang.

So

  1. are there any know incompatibilities between the oci8 version and other components listed
  2. How would you suggest debugging this? I am trying to establish what is going on at the point of hanging. Is it in OCI8 or is this simply a network issue (seems unlikely to be purely network because I can always get the db to give me an authentication error - it never fails to return).
  3. Is there some way of configuring OCI8 to 'timeout' if it is waiting for something (I don't know this is the problem - but it could be.

Thanks for your help

failure with core dump when calling PL/SQL procedure with cursor argument

When I upgraded ruby-plsql to use ruby-oci8 then test "should execute function with cursor parameter and return record" (https://github.com/rsim/ruby-plsql/blob/master/spec/plsql/procedure_spec.rb#L1817) started to fail with core dump.

If you remove second pending call from this test then plsql.test_cursor_fetch(cursor) fails with core dump (see failure message at https://gist.github.com/4fba8bbb663b9dd6a32b). It was working fine with ruby-oci8 2.0.x versions.

RuntimeError: executing in another thread when active record unit test with Oracle

Recently Rails ActiveRecord unit tests with oracle database rake test_oracle sometimes gets this error.

$ cd activerecord
$ rake test_oracle
... snip ...

Finished tests in 282.894401s, 12.5665 tests/s, 34.5571 assertions/s.

  1) Error:
SchemaDumperTest#test_arguments_line_up:
RuntimeError: executing in another thread
    /home/yahonda/.rvm/gems/ruby-2.0.0-p0@railsmaster/gems/ruby-oci8-2.1.5/lib/oci8/cursor.rb:126:in `__execute'
    /home/yahonda/.rvm/gems/ruby-2.0.0-p0@railsmaster/gems/ruby-oci8-2.1.5/lib/oci8/cursor.rb:126:in `exec'
    /home/yahonda/.rvm/gems/ruby-2.0.0-p0@railsmaster/gems/ruby-oci8-2.1.5/lib/oci8/oci8.rb:278:in `exec_internal'
    /home/yahonda/.rvm/gems/ruby-2.0.0-p0@railsmaster/gems/ruby-oci8-2.1.5/lib/oci8/oci8.rb:269:in `exec'
    /home/yahonda/git/oracle-enhanced/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:438:in `ping'
    /home/yahonda/git/oracle-enhanced/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:72:in `ping'
    /home/yahonda/git/oracle-enhanced/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:697:in `active?'
    /home/yahonda/git/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:409:in `block (2 levels) in reap'
    /home/yahonda/git/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:408:in `each'
    /home/yahonda/git/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:408:in `block in reap'
    /home/yahonda/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
    /home/yahonda/git/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:406:in `reap'
    /home/yahonda/git/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:217:in `block in run'

3555 tests, 9776 assertions, 0 failures, 1 errors, 26 skips
rake aborted!

You can see the whole output from here

As I write 'sometimes', this error is not a 100% reproduce one.

  • It does not reproduce always, one out of five rake test_oracle
  • RuntimeError: executing in another thread has been happening quite recently, within a week. I do not remember the exact date it happens first.
  • I do not see this error using jruby and ojdbc6.jar

Because of this it's quite difficult to find which commit causes this error using git bisect. Therefore I'm opening this issue to ask for help to resolve this error. Anyone has any hints, please have some comments.

ruby-oci8 2.1.2 gets Segmentation fault at oracle_enhanced_oci_connection.rb:240

Tested with Oracle enhanced adapter rails4 branch and ruby-oci8 2.1.2. Got Segmentation fault.

active_record/connection_adapters/oracle_enhanced_oci_connection.rb:240: [BUG] Segmentation fault
ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-linux]

You can see full stack trace https://gist.github.com/3996085

  • Environment
$ ruby -v
ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-linux]
$ uname -r
2.6.39-300.17.1.el6uek.x86_64

- Oracle Database 11g 11.2.0.3.0 + PSU 11.2.0.3.4 (14275605) x86-64

It does not reproduce when tested with the latest master branch at github. I'm thinking it is dup of #20. But not sure.

make check got 2 failures when TZ set to "America/New_York"

Hi, Thank you for the ruby-oci8 constant updates/fixes.

As I've found several failures and errors for make check,
please let me know if I should report to rubyforge or somewhere else.

$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
$ echo $TZ
America/New_York
[yahonda@myoel5 ruby-oci8]$ make check
ruby -w setup.rb setup
setup.rb:278: warning: assigned but unused variable - vname
setup.rb:278: warning: assigned but unused variable - desc
setup.rb:278: warning: assigned but unused variable - default2
setup.rb:109: Use RbConfig instead of obsolete and deprecated Config.
---> lib
---> lib/dbd
<--- lib/dbd
---> lib/oci8
<--- lib/oci8
<--- lib
---> ext
---> ext/oci8
make 
make[1]: Entering directory `/home/yahonda/Dropbox/git/ruby-oci8/ext/oci8'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/yahonda/Dropbox/git/ruby-oci8/ext/oci8'
<--- ext/oci8
<--- ext
ruby -w setup.rb test
setup.rb:278: warning: assigned but unused variable - vname
setup.rb:278: warning: assigned but unused variable - desc
setup.rb:278: warning: assigned but unused variable - default2
setup.rb:109: Use RbConfig instead of obsolete and deprecated Config.
mkdir -p ./test
/home/yahonda/.rvm/rubies/ruby-1.9.3-p0/bin/ruby -w -I/home/yahonda/Dropbox/git/ruby-oci8/ext/oci8 -I/home/yahonda/Dropbox/git/ruby-oci8/lib -I/home/yahonda/Dropbox/git/ruby-oci8/support -I/home/yahonda/Dropbox/git/ruby-oci8/test /home/yahonda/Dropbox/git/ruby-oci8/test/test_all.rb
/home/yahonda/Dropbox/git/ruby-oci8/lib/oci8/object.rb:374: warning: assigned but unused variable - args
lib/rational.rb is deprecated
/home/yahonda/Dropbox/git/ruby-oci8/test/test_bind_time.rb:86: warning: assigned but unused variable - day_in
/home/yahonda/Dropbox/git/ruby-oci8/test/test_bind_time.rb:87: warning: assigned but unused variable - time_out
/home/yahonda/Dropbox/git/ruby-oci8/test/test_oci8.rb:218: warning: assigned but unused variable - dttm
/home/yahonda/Dropbox/git/ruby-oci8/test/test_metadata.rb:887: warning: assigned but unused variable - descs
/home/yahonda/Dropbox/git/ruby-oci8/test/test_metadata.rb:987: warning: assigned but unused variable - descs
Run options: 

# Running tests:

..F..............................F.............................E........F......F....................................................................

Finished tests in 53.515697s, 2.7655 tests/s, 142.3881 assertions/s.

  1) Failure:
test_set_client_info(TestAppInfo) [/home/yahonda/Dropbox/git/ruby-oci8/test/test_appinfo.rb:57]:
Expected "ruby-oci8:9216" to be nil.

  2) Failure:
test_busy_and_open_count(TestConnectionPool) [/home/yahonda/Dropbox/git/ruby-oci8/test/test_connection_pool.rb:101]:
<3> expected but was
<2>.

  3) Error:
test_column_metadata(TestMetadata):
OCIError: ORA-00902: invalid datatype
    stmt.c:241:in oci8lib_191.so
    /home/yahonda/Dropbox/git/ruby-oci8/lib/oci8/oci8.rb:427:in `exec'
    /home/yahonda/Dropbox/git/ruby-oci8/lib/oci8/oci8.rb:255:in `exec_internal'
    /home/yahonda/Dropbox/git/ruby-oci8/lib/oci8/oci8.rb:248:in `exec'
    /home/yahonda/Dropbox/git/ruby-oci8/test/test_metadata.rb:1376:in `test_column_metadata'

  4) Failure:
test_bind_cursor(TestOCI8) [/home/yahonda/Dropbox/git/ruby-oci8/test/test_oci8.rb:221]:
<2002-08-03 23:59:59 -0400> expected but was
<2002-08-03 23:59:59 -0500>.

  5) Failure:
test_select(TestOCI8) [/home/yahonda/Dropbox/git/ruby-oci8/test/test_oci8.rb:128]:
<2002-08-03 23:59:59 -0400> expected but was
<2002-08-03 23:59:59 -0500>.

148 tests, 7620 assertions, 4 failures, 1 errors, 0 skips
[yahonda@myoel5 ruby-oci8]$ 
SQL> select * from v$version;

BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE    10.2.0.5.0      Production
TNS for Linux: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production

Right now, I have no idea about failure 1) and 2) but These 2 tests do not get failure when TZ='Asia/Tokyo'

  1. Failure:
    test_bind_cursor(TestOCI8) [/home/yahonda/Dropbox/git/ruby-oci8/test/test_oci8.rb:221]:
    <2002-08-03 23:59:59 -0400> expected but was
    <2002-08-03 23:59:59 -0500>.

  2. Failure:
    test_select(TestOCI8) [/home/yahonda/Dropbox/git/ruby-oci8/test/test_oci8.rb:128]:
    <2002-08-03 23:59:59 -0400> expected but was
    <2002-08-03 23:59:59 -0500>.

Maybe the DST has some relationships with these failures.
I'll report about the error 3) later.

no such file to load -- oci8lib_191

Hi,

On our production machines, the lib/oci8lib_192.so is generated, and not a lib/oci8lib_191.so
Because of that, we have to modify the so_basename, so that the correct *.so file is required.

The suffix number indicates the ruby API version.

18 - ruby 1.8.x

191 - ruby 1.9.1 and 1.9.2

19x - ruby 1.9.x future version which will break the API compatibility

case RUBY_VERSION
when /^1.9.1/
so_basename += '191'
when /^1.9.2/
so_basename += '192'
when /^1.8/
so_basename += '18'
else
raise 'unsupported ruby version: ' + RUBY_VERSION
end
require so_basename

Otherwise we get the following error:

no such file to load -- oci8lib_191

On our development machines, the generated file is indeed lib/oci8lib_191.co
What would be the best way to patch ruby-oci8 to solve this issue for once and for all (environments)?

Btw, Our development server is a:
Linux name-dev 3.0.0-12-generic-pae #20-Ubuntu SMP Fri Oct 7 16:37:17 UTC 2011 i686 i686 i386 GNU/Linux

and production is a:
Linux name-prod 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64 GNU/Linux

and we use RVM.

Thanks,
Jarra

OCIError: OCI Library Initialization Error on Mac Mavericks

To reproduce the error I installed version 2.1.6
ran irb
and required 'oci8'

Roberts-MacBook-Pro:instantclient rmartin$ rvm 1.9.3
Roberts-MacBook-Pro:instantclient rmartin$ gem install ruby-oci8
Building native extensions. This could take a while...
/Users/rmartin/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/ext/builder.rb:69: warning: Insecure world writable dir /usr/local/oracle/instantclient in PATH, mode 040777
Successfully installed ruby-oci8-2.1.6
1 gem installed
Roberts-MacBook-Pro:instantclient rmartin$ irb
/Users/rmartin/.rvm/scripts/irbrc.rb:41: warning: Insecure world writable dir /usr/local/oracle/instantclient in PATH, mode 040777
1.9.3p484 :001 > require 'oci8'
OCIError: OCI Library Initialization Error - /usr/local/oracle/instantclient/libclntsh.dylib.11.1
from oci8lib.c:134:in oci8lib_191.bundle
from /Users/rmartin/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in require' from /Users/rmartin/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:inrequire'
from /Users/rmartin/.rvm/gems/ruby-1.9.3-p484/gems/ruby-oci8-2.1.6/lib/oci8.rb:69:in <top (required)>' from /Users/rmartin/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:135:inrequire'
from /Users/rmartin/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:135:in rescue in require' from /Users/rmartin/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:144:inrequire'
from (irb):1
from /Users/rmartin/.rvm/rubies/ruby-1.9.3-p484/bin/irb:12:in `

'

I tried with version 2.1.5 but got a different error:

1.9.3p484 :001 > require 'oci8'
ArgumentError: wrong number of arguments (2 for 0..1)
from /Users/rmartin/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in initialize' from /Users/rmartin/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:innew'
from /Users/rmartin/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in require' from /Users/rmartin/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:inrequire'
from /Users/rmartin/.rvm/gems/ruby-1.9.3-p484/gems/ruby-oci8-2.1.5/lib/oci8.rb:81:in <top (required)>' from /Users/rmartin/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:135:inrequire'
from /Users/rmartin/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:135:in rescue in require' from /Users/rmartin/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:144:inrequire'
from (irb):1
from /Users/rmartin/.rvm/rubies/ruby-1.9.3-p484/bin/irb:12:in `

'

test_synonym_metadata gets error in Oracle Database 12c

Since Oracle Database 12c has been released, Just tested if ruby-oci8 works with it.
I found test_synonym_metadata gets error.

$ ruby -v
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
SQL> select banner from v$version;

BANNER
--------------------------------------------------------------------------------
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
PL/SQL Release 12.1.0.1.0 - Production
CORE    12.1.0.1.0  Production
TNS for Linux: Version 12.1.0.1.0 - Production
NLSRTL Version 12.1.0.1.0 - Production

SQL>
$ make check
ruby -w setup.rb setup
setup.rb:280: warning: assigned but unused variable - vname
setup.rb:280: warning: assigned but unused variable - desc
setup.rb:280: warning: assigned but unused variable - default2
---> lib
---> lib/dbd
<--- lib/dbd
---> lib/oci8
<--- lib/oci8
<--- lib
---> ext
---> ext/oci8
make
make[1]: Entering directory `/home/yahonda/git/ruby-oci8/ext/oci8'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/yahonda/git/ruby-oci8/ext/oci8'
<--- ext/oci8
<--- ext
ruby -w setup.rb test
setup.rb:280: warning: assigned but unused variable - vname
setup.rb:280: warning: assigned but unused variable - desc
setup.rb:280: warning: assigned but unused variable - default2
mkdir -p ./test
/home/yahonda/.rvm/rubies/ruby-2.0.0-p195/bin/ruby -w -I/home/yahonda/git/ruby-oci8/ext/oci8 -I/home/yahonda/git/ruby-oci8/lib -I/home/yahonda/git/ruby-oci8/support -I/home/yahonda/git/ruby-oci8/test /home/yahonda/git/ruby-oci8/test/test_all.rb
lib/rational.rb is deprecated
Run options:

# Running tests:

[ 14/166] TestBindString#test_bind_string_as_ncharSkip test_bind_string_as_nchar. It needs Oracle server whose database chracter set is incompatible with unicode.
[ 67/166] TestMetadata#test_column_metadataskip a test for unsupported datatype: MDSYS.SDO_GEOMETRY.
[ 73/166] TestMetadata#test_synonym_metadata = 9.29 s
  1) Error:
test_synonym_metadata(TestMetadata):
OCIError: ORA-04043: object sdo_geometry does not exist
    metadata.c:156:in oci8lib_200.so
    /home/yahonda/git/ruby-oci8/lib/oci8/metadata.rb:2002:in `describe_any'
    /home/yahonda/git/ruby-oci8/test/test_metadata.rb:1515:in `test_synonym_metadata'
    /home/yahonda/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/minitest/unit.rb:1301:in `run'
    /home/yahonda/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/test/unit/testcase.rb:17:in `run'
    /home/yahonda/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/minitest/unit.rb:919:in `block in _run_suite'
    /home/yahonda/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/minitest/unit.rb:912:in `map'
    /home/yahonda/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/minitest/unit.rb:912:in `_run_suite'
    /home/yahonda/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/test/unit.rb:657:in `block in _run_suites'
    /home/yahonda/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/test/unit.rb:655:in `each'
    /home/yahonda/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/test/unit.rb:655:in `_run_suites'
    /home/yahonda/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/minitest/unit.rb:867:in `_run_anything'
    /home/yahonda/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/minitest/unit.rb:1060:in `run_tests'
    /home/yahonda/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/minitest/unit.rb:1047:in `block in _run'
    /home/yahonda/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/minitest/unit.rb:1046:in `each'
    /home/yahonda/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/minitest/unit.rb:1046:in `_run'
    /home/yahonda/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/minitest/unit.rb:1035:in `run'
    /home/yahonda/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/test/unit.rb:21:in `run'
    /home/yahonda/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/test/unit.rb:774:in `run'
    /home/yahonda/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/test/unit.rb:834:in `run'
    /home/yahonda/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/test/unit.rb:838:in `run'
    /home/yahonda/git/ruby-oci8/test/test_all.rb:53:in `<main>'

[ 91/166] TestObj1#test_bind_array/home/yahonda/git/ruby-oci8/lib/oci8/object.rb:81: warning: instance variable @name_to_tdo not initialized
Finished tests in 726.413344s, 0.2285 tests/s, 12.9403 assertions/s.
166 tests, 9400 assertions, 0 failures, 1 errors, 0 skips

ruby -v: ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-linux]

OCI8 hangs when switching to LDAP

Hello,

I have previously been connecting fine with EZCONNECT through Ruby-OCI8. Unfortunately my enterprise is switching to LDAP auth only and I need to get my application working in this manner.

I can connect via sqlplus fine. "sqlplus username/[email protected]"

but when I try this via ruby:

OCI8.new 'username','password', 'DBNAME.DB.CORP.com'
or
OCI8.new 'username/[email protected]'

the process hangs.

I have left it running for hours and have not gotten an error.

Additionally if I remove the LDAP config file, I get an error immediately.

I am not sure how to debug this, is there a verbose mode for OCI8?

gem install ruby-oci8-2.1.5.gem issue

ruby -v
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]

Error detail:
ERROR: Error installing ruby-oci8-2.1.5.gem:
ERROR: Failed to build gem native extension.

    /home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb

checking for load library path...
LD_LIBRARY_PATH is not set.
checking ld.so.conf... no
checking for cc... ok
checking for gcc... yes
checking for LP64... yes
checking for sys/types.h... yes
checking for ruby header... ok
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/bin/ruby
--with-instant-client
--without-instant-client
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5/ext/oci8/oraconf.rb:889:in get_home': RuntimeError (RuntimeError) from /home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5/ext/oci8/oraconf.rb:705:ininitialize'
from /home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5/ext/oci8/oraconf.rb:320:in new' from /home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5/ext/oci8/oraconf.rb:320:inget'

from extconf.rb:18:in `'

Error Message:
Set the environment variable ORACLE_HOME if Oracle Full Client.
Append the path of Oracle client libraries to LD_LIBRARY_PATH if Oracle Instant Client.

Backtrace:
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5/ext/oci8/oraconf.rb:889:in get_home' /home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5/ext/oci8/oraconf.rb:705:ininitialize'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5/ext/oci8/oraconf.rb:320:in new' /home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5/ext/oci8/oraconf.rb:320:inget'

extconf.rb:18:in `'

See:

Gem files will remain installed in /home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5 for inspection.
Results logged to /home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5/ext/oci8/gem_make.out

test_select fails when TZ set to America/New_York

Thank you for the fix for the issue #2. I've found a similar failure as follows.

$ make check
... snip ...
# Running tests:

.............Skip test_bind_string_as_nchar. It needs Oracle server whose database chracter set is incompatible with unicode.
.....................................................unsupported return type (MDSYS.SDO_GEOMETRY.GET_WKB)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_WKT)
unsupported return type (MDSYS.SDO_GEOMETRY.ST_COORDDIM)
................F....................................................................

Finished tests in 694.301182s, 0.2175 tests/s, 12.9742 assertions/s.

  1) Failure:
test_select(TestOCI8) [/home/yahonda/Dropbox/git/ruby-oci8/test/test_oci8.rb:131]:
<#<DateTime: 2002-08-03T23:59:59-05:00 ((2452491j,17999s,0n),-18000s,2299161j)>> expected but was
<#<DateTime: 2002-08-03T23:59:59-04:00 ((2452491j,14399s,0n),-14400s,2299161j)>>.

151 tests, 9008 assertions, 1 failures, 0 errors, 0 skips
[yahonda@worksl6 ruby-oci8]$ 

[yahonda@worksl6 ruby-oci8]$ echo $TZ
America/New_York
[yahonda@worksl6 ruby-oci8]$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [i686-linux]
[yahonda@worksl6 ruby-oci8]$ sqlplus -s / as sysdba
select * from v$version;

BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
PL/SQL Release 11.2.0.3.0 - Production
CORE    11.2.0.3.0  Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production

I think it would also got a failure at test_oci8.rb:157.

Problem initialising a MDSYS.SDO_GEOMETRY to NULL

I opened an issue in the oracle-enhanced repo rsim/oracle-enhanced#310 and I was able to track it down to the following line in the oracle-enhanced gem:

        def bind_param(position, value, col_type = nil)
          if value.nil?
            @raw_cursor.bind_param(position, nil, String)
          else

when the value is nil it will do a bind_param(position, nil, String) which imho causes the problem. Is there a way to specify something else that will work in all cases?

I would assume a NULL is just a NULL so I tried doing bind_param(position, nil, nil) but that gives an error in ruby-oci8.

Any suggestions?

TIMESTAMP WITH TIME ZONE type parse fail.

When the value is like this:

09-AUG-12 08.57.30.857629 AM AMERICA/NEW_YORK

not like standard one:

25-JUL-12 10.41.16.679066 PM -04:00

it will throw a exception

OCIError: ORA-01805: possible error in date/time operation:
ActiveRecord::StatementInvalid: OCIError: ORA-01805: possible error in date/time operation:
from ocidatetime.c:119:in oci8lib_191.so

"Executing in another thread" exception during heavy query

I'm getting the following sporadic error in a rails app. It seems to occur when a simple query is run multiple times simultaneously (from separate requests).
I'm not 100% this is a ruby-oci8 issue, but it seems to be from the stack trace.

RuntimeError (executing in another thread):
ruby-oci8 (2.1.0) lib/oci8/oci8.rb:447:in __execute' ruby-oci8 (2.1.0) lib/oci8/oci8.rb:447:inexec'
ruby-oci8 (2.1.0) lib/oci8/oci8.rb:255:in exec_internal' ruby-oci8 (2.1.0) lib/oci8/oci8.rb:248:inexec'
activerecord-oracle_enhanced-adapter (1.3.2) lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:396:in ping' activerecord-oracle_enhanced-adapter (1.3.2) lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:62:inping'
activerecord-oracle_enhanced-adapter (1.3.2) lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:463:in active?' activerecord (3.0.9) lib/active_record/connection_adapters/abstract_adapter.rb:153:inverify!'
activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:249:in block in checkout_and_verify' activesupport (3.0.9) lib/active_support/callbacks.rb:414:in_run_checkout_callbacks'
activesupport (3.0.9) lib/active_support/callbacks.rb:94:in run_callbacks' activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:248:incheckout_and_verify'
activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:244:in checkout_existing_connection' activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:189:inblock (2 levels) in checkout'
activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:187:in loop' activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:187:inblock in checkout'
/home/ashley/.rvm/rubies/ruby-1.9.3-p125-perf/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
(full stack trace at end)

This query it seems to be falling over on is:
SELECT "SYSTEM_PARAMETER".* FROM "SYSTEM_PARAMETER" WHERE (lower(para_name) = 'locale') AND ROWNUM <= 1

This is running

  • oracle 11.2.0.2.0
  • ruby-oci8 2.1.0
  • rails 3.0.8
  • oracle-enhanced_adapter 1.3.2

This error has been occurring for a while and across multiple versions of ruby (going back at least as far as 1.8.7)

I noticed the following link suggesting a solution to a very similar, if not the same, problem. The patch mentioned doesn't seem to have been applied to the 2.1.0 version of ruby-oci8 on github, and I was unable to patch this in myself:

https://gist.github.com/1225733

Thanks for any help and feel free to ask for any further information.

RuntimeError (executing in another thread):
ruby-oci8 (2.1.0) lib/oci8/oci8.rb:447:in __execute' ruby-oci8 (2.1.0) lib/oci8/oci8.rb:447:inexec'
ruby-oci8 (2.1.0) lib/oci8/oci8.rb:255:in exec_internal' ruby-oci8 (2.1.0) lib/oci8/oci8.rb:248:inexec'
activerecord-oracle_enhanced-adapter (1.3.2) lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:396:in ping' activerecord-oracle_enhanced-adapter (1.3.2) lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:62:inping'
activerecord-oracle_enhanced-adapter (1.3.2) lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:463:in active?' activerecord (3.0.9) lib/active_record/connection_adapters/abstract_adapter.rb:153:inverify!'
activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:249:in block in checkout_and_verify' activesupport (3.0.9) lib/active_support/callbacks.rb:414:in_run_checkout_callbacks'
activesupport (3.0.9) lib/active_support/callbacks.rb:94:in run_callbacks' activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:248:incheckout_and_verify'
activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:244:in checkout_existing_connection' activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:189:inblock (2 levels) in checkout'
activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:187:in loop' activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:187:inblock in checkout'
/home/ashley/.rvm/rubies/ruby-1.9.3-p125-perf/lib/ruby/1.9.1/monitor.rb:211:in mon_synchronize' activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:186:incheckout'
activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:94:in connection' activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:317:inretrieve_connection'
activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_specification.rb:97:in retrieve_connection' activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_specification.rb:89:inconnection'
activerecord (3.0.9) lib/active_record/query_cache.rb:12:in cache' activerecord (3.0.9) lib/active_record/query_cache.rb:31:incall'
activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in call' actionpack (3.0.9) lib/action_dispatch/middleware/callbacks.rb:46:inblock in call'
activesupport (3.0.9) lib/active_support/callbacks.rb:421:in _run_call_callbacks' actionpack (3.0.9) lib/action_dispatch/middleware/callbacks.rb:44:incall'
rack (1.2.4) lib/rack/sendfile.rb:106:in call' actionpack (3.0.9) lib/action_dispatch/middleware/remote_ip.rb:48:incall'
actionpack (3.0.9) lib/action_dispatch/middleware/show_exceptions.rb:47:in call' railties (3.0.9) lib/rails/rack/logger.rb:13:incall'
rack (1.2.4) lib/rack/runtime.rb:17:in call' activesupport (3.0.9) lib/active_support/cache/strategy/local_cache.rb:72:incall'
actionpack (3.0.9) lib/action_dispatch/middleware/static.rb:30:in call' railties (3.0.9) lib/rails/application.rb:168:incall'
railties (3.0.9) lib/rails/application.rb:77:in method_missing' railties (3.0.9) lib/rails/rack/log_tailer.rb:14:incall'
rack (1.2.4) lib/rack/content_length.rb:13:in call' rack (1.2.4) lib/rack/handler/webrick.rb:52:inservice'
/home/ashley/.rvm/rubies/ruby-1.9.3-p125-perf/lib/ruby/1.9.1/webrick/httpserver.rb:138:in service' /home/ashley/.rvm/rubies/ruby-1.9.3-p125-perf/lib/ruby/1.9.1/webrick/httpserver.rb:94:inrun'
/home/ashley/.rvm/rubies/ruby-1.9.3-p125-perf/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'

activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:94:in connection' activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:317:inretrieve_connection'
activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_specification.rb:97:in retrieve_connection' activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_specification.rb:89:inconnection'
activerecord (3.0.9) lib/active_record/query_cache.rb:12:in cache' activerecord (3.0.9) lib/active_record/query_cache.rb:31:incall'
activerecord (3.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in call' actionpack (3.0.9) lib/action_dispatch/middleware/callbacks.rb:46:inblock in call'
activesupport (3.0.9) lib/active_support/callbacks.rb:421:in _run_call_callbacks' actionpack (3.0.9) lib/action_dispatch/middleware/callbacks.rb:44:incall'
rack (1.2.4) lib/rack/sendfile.rb:106:in call' actionpack (3.0.9) lib/action_dispatch/middleware/remote_ip.rb:48:incall'
actionpack (3.0.9) lib/action_dispatch/middleware/show_exceptions.rb:47:in call' railties (3.0.9) lib/rails/rack/logger.rb:13:incall'
rack (1.2.4) lib/rack/runtime.rb:17:in call' activesupport (3.0.9) lib/active_support/cache/strategy/local_cache.rb:72:incall'
actionpack (3.0.9) lib/action_dispatch/middleware/static.rb:30:in call' railties (3.0.9) lib/rails/application.rb:168:incall'
railties (3.0.9) lib/rails/application.rb:77:in method_missing' railties (3.0.9) lib/rails/rack/log_tailer.rb:14:incall'
rack (1.2.4) lib/rack/content_length.rb:13:in call' rack (1.2.4) lib/rack/handler/webrick.rb:52:inservice'
/home/ashley/.rvm/rubies/ruby-1.9.3-p125-perf/lib/ruby/1.9.1/webrick/httpserver.rb:138:in service' /home/ashley/.rvm/rubies/ruby-1.9.3-p125-perf/lib/ruby/1.9.1/webrick/httpserver.rb:94:inrun'
/home/ashley/.rvm/rubies/ruby-1.9.3-p125-perf/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'

Problem with bundler and too many arguments (I think)

I'm running Ubuntu 11.10 locally for development and I believe I ran into the gcc compiler issue that was fixed in b0c0ebc.

So instead of using 2.0.6 I'm checking it out from git by putting this in my Gemfile:
gem 'ruby-oci8', :git => "git://github.com/kubo/ruby-oci8.git"

And when I run 'bundle install' locally that works fine. However, when I use Capistrano for deploying to the server, it runs something like 'bundle install --gemfile /var/www/html/integration/infobase/releases/20111130215110/Gemfile --path var/www/html/integration/infobase/shared/bundle --deployment --quiet --without development test' and it errors out with the following message: "No compiled binary are found. Run make in advance."

If I run bundle locally with a bunch of arguments it does the same thing. I believe it's in the ruby-oci8.gemspec file that I'm having issues. In line 11 it checks the number of arguments and if there are more than 3 it does something different which then results in the code later on being pulled into the else section at line 34 before bundler has compiled it so it doesn't work.

Is there a good solution to this issue?

require oci8lib_191 user about 10 min

ruby version:ruby-1.9.3-p327-falcon
ruby-oci8 version:2.1.4
system:centos
i use oci8 in my rails task, top of my oracke.take "require 'oci8'".the require command use about 10min. finaly i found that "require oci8lib_191" case this.

my gem list

actionmailer (3.2.13)
actionpack (3.2.13)
activemodel (3.2.13, 3.2.9)
activerecord (3.2.13, 3.2.9)
activeresource (3.2.13)
activesupport (3.2.13, 3.2.9)
arel (3.0.2)
bigdecimal (1.1.0)
bson (1.8.5, 1.8.2)
bson_ext (1.8.2)
builder (3.0.4)
bundler (1.3.5)
chronic (0.9.1)
cool.io (1.1.0)
diff-lcs (1.2.4)
easy_captcha (0.6.3)
erubis (2.7.0)
fluent-plugin-mongo (0.7.0)
fluentd (0.10.33)
god (0.13.2)
hike (1.2.2)
http_parser.rb (0.5.3)
i18n (0.6.4, 0.6.1)
io-console (0.3)
iobuffer (1.1.2)
journey (1.0.4)
json (1.5.4)
kgio (2.8.0)
mail (2.5.3)
mime-types (1.23)
minitest (2.5.1)
mongo (1.8.5, 1.8.2)
msgpack (0.5.4)
multi_json (1.7.3)
polyglot (0.3.3)
rack (1.4.5)
rack-cache (1.2)
rack-ssl (1.3.3)
rack-test (0.6.2)
rails (3.2.13)
railties (3.2.13)
raindrops (0.10.0)
rake (10.0.4, 0.9.2.2)
rdoc (3.9.4)
rmagick (2.13.2)
rspec-core (2.13.1)
rspec-expectations (2.13.0)
rspec-mocks (2.13.1)
rspec-rails (2.13.1)
ruby-oci8 (2.1.5, 2.1.4)
rubygems-bundler (1.1.1)
rvm (1.11.3.7)
simplecov (0.7.1)
simplecov-html (0.7.1)
sprockets (2.2.2)
thor (0.18.1)
tilt (1.4.0)
treetop (1.4.12)
tzinfo (0.3.37)
unicorn (4.6.2)
whenever (0.8.2)
yajl-ruby (1.1.0)
yard (0.8.6.1)

libclntsh.dylib.11.1 (LoadError)

I am getting the following error when trying to execute my code and would appreciate some help.

I used the following tutorial to setup the Oracle client libraries and oci8. This is really one of the better ones I've seen in dealing with the installation of the Oracle libraries, so I decided to follow it.

Tutorial - https://coderwall.com/p/nvva7a

From what I can tell, oci8 creates a bundle that is looking for the library in question, but it cannot find it. I've been trying to look through the API docs to determine where the oci8 gem expects to find the library, but I've not been successful.

Your help is sincerely appreciated ...

/Users/doejohn/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in require': dlopen(/Users/doejohn/.rvm/gems/ruby-2.0.0-p0/gems/ruby-oci8-2.1.6/lib/oci8lib_200.bundle, 9): Library not loaded: /ade/b/2649109290/oracle/rdbms/lib/libclntsh.dylib.11.1 (LoadError) Referenced from: /Users/doejohn/.rvm/gems/ruby-2.0.0-p0/gems/ruby-oci8-2.1.6/lib/oci8lib_200.bundle Reason: image not found - /Users/doejohn/.rvm/gems/ruby-2.0.0-p0/gems/ruby-oci8-2.1.6/lib/oci8lib_200.bundle from /Users/doejohn/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:inrequire'
from /Users/doejohn/.rvm/gems/ruby-2.0.0-p0/gems/ruby-oci8-2.1.6/lib/oci8.rb:69:in <top (required)>' from /Users/doejohn/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:110:inrequire'
from /Users/doejohn/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:110:in rescue in require' from /Users/doejohn/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:35:inrequire'
from extract-test.rb:1:in `

'

oci8 does not work

$ rails c
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/bundler/gems/ruby-oci8-e9dfda6f7f2e/lib/oci8lib_191.bundle: [BUG] Segmentation fault
ruby 1.9.3p385 (2013-02-06 revision 39114) [x86_64-darwin12.2.1]

-- Control frame information -----------------------------------------------
c:0060 p:-17583358554848 s:0197 b:0197 l:000196 d:000196 TOP
c:0059 p:---- s:0195 b:0195 l:000194 d:000194 CFUNC :require
c:0058 p:0010 s:0191 b:0191 l:000183 d:000190 BLOCK /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251
c:0057 p:0071 s:0189 b:0189 l:000188 d:000188 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236
c:0056 p:0019 s:0184 b:0184 l:000183 d:000183 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251
c:0055 p:0511 s:0179 b:0179 l:000178 d:000178 TOP /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/bundler/gems/ruby-oci8-e9dfda6f7f2e/lib/oci8.rb:81
c:0054 p:---- s:0173 b:0173 l:000172 d:000172 FINISH
c:0053 p:---- s:0171 b:0171 l:000170 d:000170 CFUNC :require
c:0052 p:0010 s:0167 b:0167 l:000159 d:000166 BLOCK /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251
c:0051 p:0071 s:0165 b:0165 l:000164 d:000164 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236
c:0050 p:0019 s:0160 b:0160 l:000159 d:000159 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251
c:0049 p:0025 s:0155 b:0155 l:000154 d:000154 TOP /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/active_record/connecti
c:0048 p:---- s:0151 b:0151 l:000150 d:000150 FINISH
c:0047 p:---- s:0149 b:0149 l:000148 d:000148 CFUNC :require
c:0046 p:0010 s:0145 b:0145 l:000137 d:000144 BLOCK /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251
c:0045 p:0071 s:0143 b:0143 l:000142 d:000142 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236
c:0044 p:0019 s:0138 b:0138 l:000137 d:000137 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251
c:0043 p:0056 s:0133 b:0133 l:000132 d:000132 TOP /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/active_record/connecti
c:0042 p:---- s:0131 b:0131 l:000130 d:000130 FINISH
c:0041 p:---- s:0129 b:0129 l:000128 d:000128 CFUNC :require
c:0040 p:0010 s:0125 b:0125 l:000117 d:000124 BLOCK /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251
c:0039 p:0071 s:0123 b:0123 l:000122 d:000122 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236
c:0038 p:0019 s:0118 b:0118 l:000117 d:000117 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251
c:0037 p:0058 s:0113 b:0113 l:000112 d:000112 TOP /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/active_record/connecti
c:0036 p:---- s:0111 b:0111 l:000110 d:000110 FINISH
c:0035 p:---- s:0109 b:0109 l:000108 d:000108 CFUNC :require
c:0034 p:0010 s:0105 b:0105 l:000097 d:000104 BLOCK /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251
c:0033 p:0071 s:0103 b:0103 l:000102 d:000102 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236
c:0032 p:0019 s:0098 b:0098 l:000097 d:000097 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251
c:0031 p:0011 s:0093 b:0093 l:002518 d:000092 BLOCK /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/activerecord-oracle_en
c:0030 p:---- s:0091 b:0091 l:000090 d:000090 FINISH
c:0029 p:---- s:0089 b:0089 l:000088 d:000088 CFUNC :instance_eval
c:0028 p:0038 s:0086 b:0086 l:000085 d:000085 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:36
c:0027 p:0018 s:0080 b:0080 l:000071 d:000079 BLOCK /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:26
c:0026 p:---- s:0077 b:0077 l:000076 d:000076 FINISH
c:0025 p:---- s:0075 b:0075 l:000074 d:000074 CFUNC :each
c:0024 p:0021 s:0072 b:0072 l:000071 d:000071 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:25
c:0023 p:0029 s:0066 b:0066 l:002518 d:002518 CLASS /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/activerecord-oracle_en
c:0022 p:0022 s:0064 b:0064 l:000063 d:000063 CLASS /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/activerecord-oracle_en
c:0021 p:0011 s:0062 b:0062 l:000061 d:000061 CLASS /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/activerecord-oracle_en
c:0020 p:0038 s:0060 b:0060 l:000059 d:000059 TOP /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/activerecord-oracle_en
c:0019 p:---- s:0058 b:0058 l:000057 d:000057 FINISH
c:0018 p:---- s:0056 b:0056 l:000055 d:000055 CFUNC :require
c:0017 p:0026 s:0052 b:0052 l:000031 d:000051 BLOCK /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/runtime.rb:68
c:0016 p:---- s:0049 b:0049 l:000048 d:000048 FINISH
c:0015 p:---- s:0047 b:0047 l:000046 d:000046 CFUNC :each
c:0014 p:0091 s:0044 b:0044 l:000031 d:000043 BLOCK /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/runtime.rb:66
c:0013 p:---- s:0037 b:0037 l:000036 d:000036 FINISH
c:0012 p:---- s:0035 b:0035 l:000034 d:000034 CFUNC :each
c:0011 p:0046 s:0032 b:0032 l:000031 d:000031 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/runtime.rb:55
c:0010 p:0021 s:0028 b:0028 l:000027 d:000027 METHOD /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler.rb:128
c:0009 p:0089 s:0024 b:0024 l:000023 d:000023 TOP /Users/eddiefisher/www/vhost/crmax/fermand/config/application.rb:7
c:0008 p:---- s:0022 b:0022 l:000021 d:000021 FINISH
c:0007 p:---- s:0020 b:0020 l:000019 d:000019 CFUNC :require
c:0006 p:0543 s:0016 b:0016 l:000015 d:000015 TOP /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/commands.rb:39
c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :require
c:0003 p:0061 s:0006 b:0006 l:000408 d:001cf8 EVAL script/rails:6
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000408 d:000408 TOP

-- Ruby level backtrace information ----------------------------------------
script/rails:6:in <main>' script/rails:6:inrequire'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/commands.rb:39:in <top (required)>' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/commands.rb:39:inrequire'
/Users/eddiefisher/www/vhost/crmax/fermand/config/application.rb:7:in <top (required)>' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler.rb:128:inrequire'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/runtime.rb:55:in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/runtime.rb:55:ineach'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/runtime.rb:66:in block in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/runtime.rb:66:ineach'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/runtime.rb:68:in block (2 levels) in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/runtime.rb:68:inrequire'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/activerecord-oracle_enhanced-adapter.rb:4:in <top (required)>' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/activerecord-oracle_enhanced-adapter.rb:5:inmodule:ActiveRecord'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/activerecord-oracle_enhanced-adapter.rb:6:in <module:ConnectionAdapters>' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/activerecord-oracle_enhanced-adapter.rb:11:inclass:OracleEnhancedRailtie'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:25:in on_load' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:25:ineach'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:26:in block in on_load' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:36:inexecute_hook'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb:36:in instance_eval' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/activerecord-oracle_enhanced-adapter.rb:12:inblock in class:OracleEnhancedRailtie'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:inload_dependency'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in block in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:inrequire'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:36:in <top (required)>' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:inrequire'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:in load_dependency' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:inblock in require'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/active_record/connection_adapters/oracle_enhanced_connection.rb:112:in<top (required)>'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:inload_dependency'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in block in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:inrequire'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-oracle_enhanced-adapter-1.4.2/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:4:in <top (required)>' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:inrequire'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:in load_dependency' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:inblock in require'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/bundler/gems/ruby-oci8-e9dfda6f7f2e/lib/oci8.rb:81:in<top (required)>'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:inload_dependency'
/Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in block in require' /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:inrequire'

-- C level backtrace information -------------------------------------------

See Crash Report log file under ~/Library/Logs/CrashReporter or
/Library/Logs/CrashReporter, for the more detail of.

-- Other runtime information -----------------------------------------------

  • Loaded script: script/rails

  • Loaded features:

    0 enumerator.so
    1 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/x86_64-darwin12.2.1/enc/encdb.bundle
    2 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/x86_64-darwin12.2.1/enc/trans/transdb.bundle
    3 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/defaults.rb
    4 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/x86_64-darwin12.2.1/rbconfig.rb
    5 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/deprecate.rb
    6 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/exceptions.rb
    7 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb
    8 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems.rb
    9 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/x86_64-darwin12.2.1/pathname.bundle
    10 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/pathname.rb
    11 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/version.rb
    12 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/x86_64-darwin12.2.1/etc.bundle
    13 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/config_file.rb
    14 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/requirement.rb
    15 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb
    16 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/platform.rb
    17 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb
    18 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/path_support.rb
    19 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/syntax_error.rb
    20 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/x86_64-darwin12.2.1/psych.bundle
    21 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/x86_64-darwin12.2.1/stringio.bundle
    22 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/nodes/node.rb
    23 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/nodes/stream.rb
    24 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/nodes/document.rb
    25 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/nodes/sequence.rb
    26 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/nodes/scalar.rb
    27 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/nodes/mapping.rb
    28 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/nodes/alias.rb
    29 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/nodes.rb
    30 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/streaming.rb
    31 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/visitors/visitor.rb
    32 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/x86_64-darwin12.2.1/strscan.bundle
    33 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/scalar_scanner.rb
    34 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/visitors/to_ruby.rb
    35 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/visitors/emitter.rb
    36 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/visitors/yaml_tree.rb
    37 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/json/ruby_events.rb
    38 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/visitors/json_tree.rb
    39 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/visitors/depth_first.rb
    40 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/visitors.rb
    41 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/handler.rb
    42 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/tree_builder.rb
    43 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/parser.rb
    44 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/omap.rb
    45 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/set.rb
    46 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/coder.rb
    47 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/core_ext.rb
    48 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/x86_64-darwin12.2.1/date_core.bundle
    49 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/date/format.rb
    50 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/date.rb
    51 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/deprecated.rb
    52 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/stream.rb
    53 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/json/yaml_events.rb
    54 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/json/tree_builder.rb
    55 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/json/stream.rb
    56 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych/handlers/document_stream.rb
    57 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/psych.rb
    58 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/psych_additions.rb
    59 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/psych_tree.rb
    60 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/yaml.rb
    61 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/syck_hack.rb
    62 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/x86_64-darwin12.2.1/enc/utf_16le.bundle
    63 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/x86_64-darwin12.2.1/enc/utf_16be.bundle
    64 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/rubygems_integration.rb
    65 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/shared_helpers.rb
    66 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/fileutils.rb
    67 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/gem_path_manipulation.rb
    68 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/psyched_yaml.rb
    69 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/gem_helpers.rb
    70 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/match_platform.rb
    71 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/rubygems_ext.rb
    72 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/version.rb
    73 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler.rb
    74 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/settings.rb
    75 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/x86_64-darwin12.2.1/digest.bundle
    76 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/digest.rb
    77 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/x86_64-darwin12.2.1/digest/sha1.bundle
    78 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/set.rb
    79 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/definition.rb
    80 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/dependency.rb
    81 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/dsl.rb
    82 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/uri/common.rb
    83 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/uri/generic.rb
    84 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/uri/ftp.rb
    85 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/uri/http.rb
    86 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/uri/https.rb
    87 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/uri/ldap.rb
    88 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/uri/ldaps.rb
    89 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/uri/mailto.rb
    90 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/uri.rb
    91 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/user_interaction.rb
    92 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/package/f_sync_dir.rb
    93 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_header.rb
    94 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/x86_64-darwin12.2.1/enc/iso_8859_1.bundle
    95 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/x86_64-darwin12.2.1/zlib.bundle
    96 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_input.rb
    97 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_output.rb
    98 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_reader/entry.rb
    99 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_reader.rb
    100 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_writer.rb
    101 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/package.rb
    102 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/format.rb
    103 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/ext/builder.rb
    104 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/ext/configure_builder.rb
    105 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/optparse.rb
    106 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/command.rb
    107 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/ext/ext_conf_builder.rb
    108 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/ext/rake_builder.rb
    109 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/ext.rb
    110 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/require_paths_builder.rb
    111 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb
    112 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/remote_fetcher.rb
    113 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/errors.rb
    114 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/text.rb
    115 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb
    116 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/gem_installer.rb
    117 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/source.rb
    118 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/lockfile_parser.rb
    119 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/lazy_specification.rb
    120 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/tsort.rb
    121 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/forwardable.rb
    122 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/spec_set.rb
    123 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/environment.rb
    124 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/runtime.rb
    125 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/index.rb
    126 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/remote_specification.rb
    127 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/endpoint_specification.rb
    128 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/dep_proxy.rb
    129 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb
    130 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/setup.rb
    131 /Users/eddiefisher/www/vhost/crmax/fermand/config/boot.rb
    132 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/object/inclusion.rb
    133 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/e2mmap.rb
    134 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/irb/init.rb
    135 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/irb/workspace.rb
    136 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/irb/inspector.rb
    137 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/irb/context.rb
    138 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/irb/extend-command.rb
    139 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/irb/output-method.rb
    140 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/irb/notifier.rb
    141 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/irb/slex.rb
    142 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/irb/ruby-token.rb
    143 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/irb/ruby-lex.rb
    144 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/irb/src_encoding.rb
    145 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/irb/magic-file.rb
    146 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/x86_64-darwin12.2.1/readline.bundle
    147 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/irb/input-method.rb
    148 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/irb/locale.rb
    149 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/irb.rb
    150 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/irb/completion.rb
    151 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/commands/console.rb
    152 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/ruby_version_check.rb
    153 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/x86_64-darwin12.2.1/openssl.bundle
    154 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/openssl/bn.rb
    155 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/openssl/cipher.rb
    156 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/openssl/config.rb
    157 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/openssl/digest.rb
    158 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/openssl/buffering.rb
    159 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/x86_64-darwin12.2.1/fcntl.bundle
    160 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/openssl/ssl-internal.rb
    161 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/openssl/x509-internal.rb
    162 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/openssl.rb
    163 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/securerandom.rb
    164 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/inflector/inflections.rb
    165 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/inflections.rb
    166 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/inflector/methods.rb
    167 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/lazy_load_hooks.rb
    168 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies/autoload.rb
    169 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/version.rb
    170 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support.rb
    171 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/kernel/reporting.rb
    172 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/array/extract_options.rb
    173 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/class/attribute_accessors.rb
    174 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/notifications/fanout.rb
    175 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/notifications.rb
    176 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/array/wrap.rb
    177 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/deprecation/behaviors.rb
    178 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/deprecation/reporting.rb
    179 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/module/deprecation.rb
    180 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/module/aliasing.rb
    181 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/deprecation/method_wrappers.rb
    182 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/deprecation/proxy_wrappers.rb
    183 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/deprecation.rb
    184 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/thread.rb
    185 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/monitor.rb
    186 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/logger.rb
    187 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/logger.rb
    188 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/hash/reverse_merge.rb
    189 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/initializable.rb
    190 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/ordered_hash.rb
    191 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/ordered_options.rb
    192 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/hash/deep_dup.rb
    193 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/paths.rb
    194 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/rack.rb
    195 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/configuration.rb
    196 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/module/attribute_accessors.rb
    197 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/multibyte/utils.rb
    198 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/multibyte.rb
    199 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/string/multibyte.rb
    200 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/i18n-0.6.4/lib/i18n/version.rb
    201 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/i18n-0.6.4/lib/i18n/exceptions.rb
    202 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/i18n-0.6.4/lib/i18n/interpolate/ruby.rb
    203 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/i18n-0.6.4/lib/i18n.rb
    204 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/i18n-0.6.4/lib/i18n/config.rb
    205 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/i18n.rb
    206 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/inflector/transliterate.rb
    207 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/string/inflections.rb
    208 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/inflector.rb
    209 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/module/introspection.rb
    210 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/module/delegation.rb
    211 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/railtie.rb
    212 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/engine/railties.rb
    213 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/engine.rb
    214 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/time.rb
    215 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/base64.rb
    216 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/base64.rb
    217 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/string/encoding.rb
    218 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/object/blank.rb
    219 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/xml_mini/rexml.rb
    220 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/xml_mini.rb
    221 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/hash/keys.rb
    222 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/array/conversions.rb
    223 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/plugin.rb
    224 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/application.rb
    225 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/version.rb
    226 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/file_update_checker.rb
    227 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/concern.rb
    228 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/railtie/configurable.rb
    229 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/railtie/configuration.rb
    230 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/i18n_railtie.rb
    231 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/railtie.rb
    232 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionpack-3.2.12/lib/action_pack/version.rb
    233 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionpack-3.2.12/lib/action_pack.rb
    234 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activemodel-3.2.12/lib/active_model/version.rb
    235 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activemodel-3.2.12/lib/active_model.rb
    236 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/rack-1.4.5/lib/rack.rb
    237 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionpack-3.2.12/lib/action_dispatch.rb
    238 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionpack-3.2.12/lib/action_dispatch/railtie.rb
    239 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails.rb
    240 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/crud.rb
    241 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/factory_methods.rb
    242 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/expressions.rb
    243 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/predications.rb
    244 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/math.rb
    245 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/alias_predication.rb
    246 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/order_predications.rb
    247 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/table.rb
    248 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/attributes/attribute.rb
    249 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/attributes.rb
    250 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/compatibility/wheres.rb
    251 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/relation.rb
    252 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/expression.rb
    253 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/visitors/visitor.rb
    254 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/visitors/depth_first.rb
    255 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/x86_64-darwin12.2.1/bigdecimal.bundle
    256 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/visitors/to_sql.rb
    257 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/visitors/sqlite.rb
    258 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/visitors/postgresql.rb
    259 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/visitors/mysql.rb
    260 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/visitors/mssql.rb
    261 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/visitors/oracle.rb
    262 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/visitors/join_sql.rb
    263 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/visitors/where_sql.rb
    264 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/visitors/order_clauses.rb
    265 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/visitors/dot.rb
    266 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/visitors/ibm_db.rb
    267 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/visitors/informix.rb
    268 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/visitors.rb
    269 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/tree_manager.rb
    270 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/insert_manager.rb
    271 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/select_manager.rb
    272 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/update_manager.rb
    273 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/delete_manager.rb
    274 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/node.rb
    275 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/select_statement.rb
    276 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/select_core.rb
    277 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/insert_statement.rb
    278 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/update_statement.rb
    279 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/terminal.rb
    280 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/true.rb
    281 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/false.rb
    282 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/unary.rb
    283 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/ascending.rb
    284 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/descending.rb
    285 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/unqualified_column.rb
    286 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/with.rb
    287 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/binary.rb
    288 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/equality.rb
    289 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/in.rb
    290 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/join_source.rb
    291 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/delete_statement.rb
    292 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/table_alias.rb
    293 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/infix_operation.rb
    294 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/and.rb
    295 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/function.rb
    296 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/count.rb
    297 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/values.rb
    298 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/named_function.rb
    299 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/inner_join.rb
    300 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/outer_join.rb
    301 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/string_join.rb
    302 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes/sql_literal.rb
    303 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/nodes.rb
    304 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/deprecated.rb
    305 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/sql/engine.rb
    306 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel/sql_literal.rb
    307 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/arel-3.0.2/lib/arel.rb
    308 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/version.rb
    309 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/enumerable.rb
    310 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/kernel/singleton_class.rb
    311 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/module/remove_method.rb
    312 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/class/attribute.rb
    313 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activemodel-3.2.12/lib/active_model/attribute_methods.rb
    314 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/attribute_methods.rb
    315 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/bigdecimal/util.rb
    316 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/benchmark.rb
    317 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/benchmark.rb
    318 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/connection_adapters/schema_cache.rb
    319 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/big_decimal/conversions.rb
    320 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/quoting.rb
    321 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/database_statements.rb
    322 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/schema_statements.rb
    323 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/database_limits.rb
    324 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/query_cache.rb
    325 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/descendants_tracker.rb
    326 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/callbacks.rb
    327 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract_adapter.rb
    328 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/scoping.rb
    329 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record.rb
    330 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activemodel-3.2.12/lib/active_model/railtie.rb
    331 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/basic_object.rb
    332 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/object/acts_like.rb
    333 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/duration.rb
    334 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/object/try.rb
    335 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/values/time_zone.rb
    336 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/time_with_zone.rb
    337 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/time/zones.rb
    338 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/date/zones.rb
    339 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/date/calculations.rb
    340 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/time/publicize_conversion_methods.rb
    341 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/time/conversions.rb
    342 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/date_time/calculations.rb
    343 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/date_time/conversions.rb
    344 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/process/daemon.rb
    345 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/time/calculations.rb
    346 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/string/conversions.rb
    347 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/i18n-0.6.4/lib/i18n/core_ext/string/interpolate.rb
    348 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/string/interpolation.rb
    349 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/rexml/rexml.rb
    350 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/rexml.rb
    351 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/file/path.rb
    352 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/module/method_names.rb
    353 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/ruby/shim.rb
    354 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/module/attr_internal.rb
    355 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/module/anonymous.rb
    356 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionpack-3.2.12/lib/abstract_controller.rb
    357 /Users/eddiefisher/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/erb.rb
    358 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/string/output_safety.rb
    359 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionpack-3.2.12/lib/action_view.rb
    360 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionpack-3.2.12/lib/action_controller/vendor/html-scanner.rb
    361 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/load_error.rb
    362 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/name_error.rb
    363 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/uri.rb
    364 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionpack-3.2.12/lib/action_controller.rb
    365 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionpack-3.2.12/lib/action_view/railtie.rb
    366 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionpack-3.2.12/lib/abstract_controller/railties/routes_helpers.rb
    367 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionpack-3.2.12/lib/action_controller/railties/paths.rb
    368 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionpack-3.2.12/lib/action_controller/railtie.rb
    369 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/railtie.rb
    370 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionmailer-3.2.12/lib/action_mailer/version.rb
    371 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/class/delegating_attributes.rb
    372 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/module/reachable.rb
    373 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/class/subclasses.rb
    374 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/class.rb
    375 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/array/uniq_by.rb
    376 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionmailer-3.2.12/lib/action_mailer.rb
    377 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionmailer-3.2.12/lib/action_mailer/railtie.rb
    378 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activeresource-3.2.12/lib/active_resource/exceptions.rb
    379 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activeresource-3.2.12/lib/active_resource/version.rb
    380 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activeresource-3.2.12/lib/active_resource.rb
    381 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activeresource-3.2.12/lib/active_resource/railtie.rb
    382 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/test_unit/railtie.rb
    383 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionpack-3.2.12/lib/sprockets/railtie.rb
    384 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/railties-3.2.12/lib/rails/all.rb
    385 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/string_inquirer.rb
    386 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/mysql2-0.3.11/lib/mysql2/version.rb
    387 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/mysql2-0.3.11/lib/mysql2/error.rb
    388 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/mysql2-0.3.11/lib/mysql2/result.rb
    389 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle
    390 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/mysql2-0.3.11/lib/mysql2/client.rb
    391 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/mysql2-0.3.11/lib/mysql2.rb
    392 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/meta_search-1.1.3/lib/meta_search/exceptions.rb
    393 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/meta_search-1.1.3/lib/meta_search/utility.rb
    394 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/meta_search-1.1.3/lib/meta_search/method.rb
    395 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/polyamorous-0.5.0/lib/polyamorous/version.rb
    396 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/errors.rb
    397 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/associations.rb
    398 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/associations/join_dependency.rb
    399 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/associations/join_dependency/join_part.rb
    400 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/associations/join_helper.rb
    401 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/associations/join_dependency/join_association.rb
    402 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/polyamorous-0.5.0/lib/polyamorous/join.rb
    403 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/polyamorous-0.5.0/lib/polyamorous/join_association.rb
    404 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/polyamorous-0.5.0/lib/polyamorous/join_dependency.rb
    405 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/polyamorous-0.5.0/lib/polyamorous.rb
    406 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/meta_search-1.1.3/lib/meta_search/model_compatibility.rb
    407 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/meta_search-1.1.3/lib/meta_search/where.rb
    408 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/meta_search-1.1.3/lib/meta_search/builder.rb
    409 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/meta_search-1.1.3/lib/meta_search/searches/active_record.rb
    410 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionpack-3.2.12/lib/action_view/template/handlers.rb
    411 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionpack-3.2.12/lib/action_dispatch/http/mime_types.rb
    412 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionpack-3.2.12/lib/action_dispatch/http/mime_type.rb
    413 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/erubis-2.7.0/lib/erubis/util.rb
    414 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/erubis-2.7.0/lib/erubis/generator.rb
    415 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/erubis-2.7.0/lib/erubis/converter.rb
    416 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/erubis-2.7.0/lib/erubis/error.rb
    417 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/erubis-2.7.0/lib/erubis/context.rb
    418 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/erubis-2.7.0/lib/erubis/evaluator.rb
    419 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/erubis-2.7.0/lib/erubis/engine.rb
    420 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/erubis-2.7.0/lib/erubis/helper.rb
    421 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/erubis-2.7.0/lib/erubis/enhancer.rb
    422 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb
    423 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/erubis-2.7.0/lib/erubis/local-setting.rb
    424 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/erubis-2.7.0/lib/erubis.rb
    425 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionpack-3.2.12/lib/action_view/template/handlers/erb.rb
    426 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionpack-3.2.12/lib/action_view/template/handlers/builder.rb
    427 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/actionpack-3.2.12/lib/action_view/template.rb
    428 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/meta_search-1.1.3/lib/meta_search/helpers/form_builder.rb
    429 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/meta_search-1.1.3/lib/meta_search/helpers/form_helper.rb
    430 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/meta_search-1.1.3/lib/meta_search/helpers/url_helper.rb
    431 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/meta_search-1.1.3/lib/meta_search/helpers.rb
    432 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/benchmarkable.rb
    433 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/module/qualified_const.rb
    434 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/string/starts_ends_with.rb
    435 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/dependencies.rb
    436 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/time/marshal.rb
    437 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/time/acts_like.rb
    438 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/date/acts_like.rb
    439 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/date/freeze.rb
    440 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/date/conversions.rb
    441 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/date_time/acts_like.rb
    442 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/date_time/zones.rb
    443 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/integer/time.rb
    444 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/numeric/time.rb
    445 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/time.rb
    446 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/hash/deep_merge.rb
    447 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/hash_with_indifferent_access.rb
    448 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/hash/indifferent_access.rb
    449 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/hash/slice.rb
    450 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/string/behavior.rb
    451 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/object/duplicable.rb
    452 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/log_subscriber.rb
    453 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/log_subscriber.rb
    454 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/explain_subscriber.rb
    455 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/persistence.rb
    456 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/hash/except.rb
    457 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activemodel-3.2.12/lib/active_model/naming.rb
    458 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/query_cache.rb
    459 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/querying.rb
    460 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/readonly_attributes.rb
    461 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/model_schema.rb
    462 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activemodel-3.2.12/lib/active_model/translation.rb
    463 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/translation.rb
    464 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/inheritance.rb
    465 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord-3.2.12/lib/active_record/scoping/default.rb
    466 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/array/access.rb
    467 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/array/grouping.rb
    468 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/array/random_access.rb
    469 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/array/prepend_and_append.rb
    470 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activesupport-3.2.12/lib/active_support/core_ext/array.rb
    471 /Users/eddiefisher/.rvm/gems/ruby-1.9.3-p385@fermand/gems/activerecord

test_sequence(TestMetadata) get a failure

test_sequence(TestMetadata) get a failure.

$ make check
ruby -w setup.rb setup
setup.rb:278: warning: assigned but unused variable - vname
setup.rb:278: warning: assigned but unused variable - desc
setup.rb:278: warning: assigned but unused variable - default2
setup.rb:109: Use RbConfig instead of obsolete and deprecated Config.
---> lib
---> lib/oci8
<--- lib/oci8
---> lib/dbd
<--- lib/dbd
<--- lib
---> ext
---> ext/oci8
make
make[1]: Entering directory `/home/yahonda/git/ruby-oci8/ext/oci8'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/yahonda/git/ruby-oci8/ext/oci8'
<--- ext/oci8
<--- ext
ruby -w setup.rb test
setup.rb:278: warning: assigned but unused variable - vname
setup.rb:278: warning: assigned but unused variable - desc
setup.rb:278: warning: assigned but unused variable - default2
setup.rb:109: Use RbConfig instead of obsolete and deprecated Config.
mkdir -p ./test
/home/yahonda/.rvm/rubies/ruby-1.9.3-p194/bin/ruby -w -I/home/yahonda/git/ruby-oci8/ext/oci8 -I/home/yahonda/git/ruby-oci8/lib -I/home/yahonda/git/ruby-oci8/support -I/home/yahonda/git/ruby-oci8/test /home/yahonda/git/ruby-oci8/test/test_all.rb
/home/yahonda/git/ruby-oci8/lib/oci8/object.rb:397: warning: assigned but unused variable - args
lib/rational.rb is deprecated
/home/yahonda/git/ruby-oci8/test/test_bind_time.rb:86: warning: assigned but unused variable - day_in
/home/yahonda/git/ruby-oci8/test/test_bind_time.rb:87: warning: assigned but unused variable - time_out
/home/yahonda/git/ruby-oci8/test/test_oci8.rb:220: warning: assigned but unused variable - dttm
/home/yahonda/git/ruby-oci8/test/test_metadata.rb:897: warning: assigned but unused variable - descs
/home/yahonda/git/ruby-oci8/test/test_metadata.rb:997: warning: assigned but unused variable - descs
/home/yahonda/git/ruby-oci8/test/test_object.rb:143: warning: assigned but unused variable - ival
Run options:

# Running tests:

.............Skip test_bind_string_as_nchar. It needs Oracle server whose database chracter set is incompatible with unicode.
....................................................unsupported return type (MDSYS.SDO_GEOMETRY.GET_WKB)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_WKT)
unsupported return type (MDSYS.SDO_GEOMETRY.ST_COORDDIM)
.....F......................F....................................................................

Finished tests in 43.068593s, 3.7614 tests/s, 217.7225 assertions/s.

  1) Failure:
test_sequence(TestMetadata) [/home/yahonda/git/ruby-oci8/test/test_metadata.rb:1469]:
min.
<-99999999999999999999999999> expected but was
<-999999999999999999999999999>.

... snip ...
162 tests, 9377 assertions, 2 failures, 0 errors, 0 skips
$

Environment

  • ruby
    ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
  • Oracle
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production on Linux x64(CentOS 6.3)

make check got 3 failures since DST started

make check got 3 failures at main branch since DST started in US.

[1.9.3@rubyoci8] yahonda@myoel6 ~/Dropbox/git/ruby-oci8 (master) 
$ echo $TZ
America/New_York
[1.9.3@rubyoci8] yahonda@myoel6 ~/Dropbox/git/ruby-oci8 (master) 
$ ruby -v
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux]
[1.9.3@rubyoci8] yahonda@myoel6 ~/Dropbox/git/ruby-oci8 (master) 
$ make check
ruby -w setup.rb setup
setup.rb:278: warning: assigned but unused variable - vname
setup.rb:278: warning: assigned but unused variable - desc
setup.rb:278: warning: assigned but unused variable - default2
setup.rb:109: Use RbConfig instead of obsolete and deprecated Config.
---> lib
---> lib/dbd
<--- lib/dbd
---> lib/oci8
<--- lib/oci8
<--- lib
---> ext
---> ext/oci8
make 
make[1]: Entering directory `/home/yahonda/Dropbox/git/ruby-oci8/ext/oci8'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/yahonda/Dropbox/git/ruby-oci8/ext/oci8'
<--- ext/oci8
<--- ext
ruby -w setup.rb test
setup.rb:278: warning: assigned but unused variable - vname
setup.rb:278: warning: assigned but unused variable - desc
setup.rb:278: warning: assigned but unused variable - default2
setup.rb:109: Use RbConfig instead of obsolete and deprecated Config.
mkdir -p ./test
/home/yahonda/.rvm/rubies/ruby-1.9.3-p125/bin/ruby -w -I/home/yahonda/Dropbox/git/ruby-oci8/ext/oci8 -I/home/yahonda/Dropbox/git/ruby-oci8/lib -I/home/yahonda/Dropbox/git/ruby-oci8/support -I/home/yahonda/Dropbox/git/ruby-oci8/test /home/yahonda/Dropbox/git/ruby-oci8/test/test_all.rb
/home/yahonda/Dropbox/git/ruby-oci8/lib/oci8/object.rb:374: warning: assigned but unused variable - args
lib/rational.rb is deprecated
/home/yahonda/Dropbox/git/ruby-oci8/test/test_bind_time.rb:86: warning: assigned but unused variable - day_in
/home/yahonda/Dropbox/git/ruby-oci8/test/test_bind_time.rb:87: warning: assigned but unused variable - time_out
/home/yahonda/Dropbox/git/ruby-oci8/test/test_oci8.rb:220: warning: assigned but unused variable - dttm
/home/yahonda/Dropbox/git/ruby-oci8/test/test_metadata.rb:897: warning: assigned but unused variable - descs
/home/yahonda/Dropbox/git/ruby-oci8/test/test_metadata.rb:997: warning: assigned but unused variable - descs
Run options: 

# Running tests:

.............Skip test_bind_string_as_nchar. It needs Oracle server whose database chracter set is incompatible with unicode.
...........................F.F..........F...........unsupported return type (MDSYS.SDO_GEOMETRY.GET_WKB)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_WKT)
unsupported return type (MDSYS.SDO_GEOMETRY.ST_COORDDIM)
.....................................................................................

Finished tests in 668.106542s, 0.2245 tests/s, 13.7762 assertions/s.

  1) Failure:
test_date_out_bind(TestDateTime) [/home/yahonda/Dropbox/git/ruby-oci8/test/test_datetime.rb:73]:
<#<DateTime: 2005-12-31T23:59:59-04:00 ((2453737j,14399s,0n),-14400s,2299161j)>> expected but was
<#<DateTime: 2005-12-31T23:59:59-05:00 ((2453737j,17999s,0n),-18000s,2299161j)>>.

  2) Failure:
test_datetype_duck_typing(TestDateTime) [/home/yahonda/Dropbox/git/ruby-oci8/test/test_datetime.rb:204]:
<#<DateTime: 2006-12-31T00:00:00-04:00 ((2454101j,14400s,0n),-14400s,2299161j)>> expected but was
<#<DateTime: 2006-12-31T00:00:00-05:00 ((2454101j,18000s,0n),-18000s,2299161j)>>.

  3) Failure:
test_timestamp_out_bind(TestDateTime) [/home/yahonda/Dropbox/git/ruby-oci8/test/test_datetime.rb:121]:
<#<DateTime: 2005-12-31T23:59:59-04:00 ((2453737j,14399s,999999000n),-14400s,2299161j)>> expected but was
<#<DateTime: 2005-12-31T23:59:59-05:00 ((2453737j,17999s,999999000n),-18000s,2299161j)>>.

150 tests, 9204 assertions, 3 failures, 0 errors, 0 skips
[1.9.3@rubyoci8] yahonda@myoel6 ~/Dropbox/git/ruby-oci8 (master) 
$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.3.0 Production on Mon Mar 12 19:46:22 2012

Copyright (c) 1982, 2011, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning option

SQL> select * from v$version;

BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE    11.2.0.3.0  Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production

SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning option
[1.9.3@rubyoci8] yahonda@myoel6 ~/Dropbox/git/ruby-oci8 (master) 
$

Error installing ruby-oci8-2.1.5 gem

Error installing ruby-oci8-2.1.5 gem

Trying to get a basic SQL call to Oracle up and working and am having troubles getting ruby-OCI8 installed

I'm using Windows 7 64-bit
ruby -v
1.9.3p448 (2013-06-27) [i386-mingw32]

ruby -e "require 'oci8'"
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require': cannot load such file -- oci8 (LoadError ) from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire'
from -e:1:in `

'

I installed the Oracle Instant client, SDK and SQL*PLUS files to c:\oracle\instantclient_12_1
My LD_LIBRARY_PATH envvar is set to c:\oracle\instantclient_12_1

gem install ruby-oci8-2.1.5 results in ....

Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing ruby-oci8-2.1.5.gem:
ERROR: Failed to build gem native extension.

    C:/Ruby193/bin/ruby.exe extconf.rb

checking for load library path...
PATH...
checking D:\Users\204055447\Downloads\DevKit\bin... no
checking D:\Users\204055447\Downloads\DevKit\mingw\bin... no
checking C:\Program Files (x86)\Windows Resource Kits\Tools... no
checking C:\Sybase\DataAccess\OLEDB\dll... no
checking C:\Sybase\DataAccess\ODBC\dll... no
checking C:\Sybase\OCS-12_5\lib3p... no
checking C:\Sybase\ADO.NET\dll... no
checking C:\Sybase\OLEDB... no
checking C:\Sybase\ODBC... no
checking C:\Sybase\OCS-12_5\dll... no
checking C:\Sybase\OCS-12_5\bin... no
checking C:\Program Files (x86)\CA\SC\CAWIN... no
checking C:\Windows\system32... no
checking C:\Windows... no
checking C:\Windows\System32\Wbem... no
checking C:\Windows\System32\WindowsPowerShell\v1.0... no
checking C:\Apps\Tcl\bin... no
checking C:\Apps\perl\bin... no
checking C:\Program Files (x86)\CA\SC\Csam\SockAdapter\bin... no
checking C:\Program Files (x86)\CA\DSM\bin... no
checking C:\Program Files (x86)\CA\SC\CBB... no
checking C:\PROGRA~2\CA\SC\CAM\bin... no
checking c:\apps\Cygwin\bin... no
checking C:\Program Files\TextPad 4... no
checking c:\apps\bin... no
checking c:\apps\lib... no
checking c:\Program Files (x86)\SQLite... no
checking c:\Program Files (x86)\TextPad 4... no
checking C:\Ruby193\bin... no
checking C:\Oracle\instantclient_12_1... yes
C:/Oracle/instantclient_12_1/oci.dll looks like a full client.
checking for cc... ok
checking for gcc... yes
checking for LP64... no
checking for sys/types.h... yes
checking for ruby header... ok
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/Ruby193/bin/ruby
--with-instant-client
--without-instant-client
C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5/ext/oci8/oraconf.rb:57:in enum_homes': RuntimeError (RuntimeError) from C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5/ext/oci8/oraconf.rb:787:inget_home'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5/ext/oci8/oraconf.rb:705:in initialize' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5/ext/oci8/oraconf.rb:320:innew'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5/ext/oci8/oraconf.rb:320:in get' from extconf.rb:18:in

'

Error Message:
MiniRegistry::MiniRegistryError
Backtrace:
C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5/ext/oci8/oraconf.rb:57:in enum_homes' C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5/ext/oci8/oraconf.rb:787:inget_home'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5/ext/oci8/oraconf.rb:705:in initialize' C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5/ext/oci8/oraconf.rb:320:innew'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5/ext/oci8/oraconf.rb:320:in get' extconf.rb:18:in

'

See:

Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.5/ext/oci8/gem_make.out

My installed Gems are:
*** LOCAL GEMS ***
bigdecimal (1.2.1, 1.1.0)
builder (3.2.2)
bundler (1.3.5)
childprocess (0.3.9)
cucumber (1.3.6)
diff-lcs (1.2.4)
ffi (1.9.0 x86-mingw32)
gherkin (2.12.1 x86-mingw32)
io-console (0.4.2, 0.3)
json (1.8.0, 1.5.5)
minitest (5.0.6, 2.5.1)
multi_json (1.7.9)
multi_test (0.0.2)
rake (10.1.0, 0.9.2.2)
rdoc (4.0.1, 3.9.5)
rspec-expectations (2.14.2)
ruby-plsql (0.5.0)
rubyzip (0.9.9)
selenium-webdriver (2.35.0)
websocket (1.0.4)

**** UPDATE: Aug-21-2013 @14:34 ET
I noticed the following unusual "permission denied" activity in my mkmf.log file ....
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048 -DFD_SETSIZE=2048 -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -LC:/Ruby193/lib -L. -lmsvcrt-ruby191 -lshell32 -lws2_32 -limagehlp -lshlwapi "
d:/users/204055447/downloads/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: reopening conftest.exe: Permission denied

d:/users/204055447/downloads/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: final link failed: Permission denied

*** UPDATE Aug-21 @16:28 ET
Got rid of the permission error by adding the following to mkmf.rb as suggested at http://ruby-oci8.rubyforge.org/en/file.platform-specific-issues.html
def try_run(src, opt="")
if try_link0(src, opt)
xsystem("./conftest")
else
nil
end
ensure
# add the following one line.
sleep 1 if /mswin32|cygwin|mingw32|bccwin32/ =~ RUBY_PLATFORM
rm_f "conftest
"
end

The permission error went away but the other MiniRegistryError remains which appears to come from the following code in oraconf.rb. QUESTION: Why is SOFTWARE\ORACLE expected to be found in my Registry. It's not there but why does this script think it should be? That's the whole purpose of the Oracle Instant Client
code = RegOpenKeyExA.call(HKEY_LOCAL_MACHINE, 'SOFTWARE\ORACLE', 0, 0x20019, phkResult)
if code != ERROR_SUCCESS
raise MiniRegistryError.new("Win32::RegOpenKeyExA", code)
end

Any thoughts?

ORA-00979 not a GROUP BY expression error with CORRECT sql

This error was occured in rails 3.2.2 app.
Used gems:
ruby-oci8 (2.1.2)
activerecord (3.2.3)
activerecord-oracle_enhanced-adapter (1.4.1)

SQL query was correct and successfully executed in sqlplus.
Unfortunately, I don't have exact SQL, but I show point by example:

SELECT trunc(d.col, 'hh'), ......
FROM a, b
WHERE a.pk_date =
trunc(sysdate)
AND b.name = 'xxx'
AND b.c1 = d.c1
GROUP BY b.name, trunc(d.col, 'hh')

Sql was executed in the app that way:
sql = "..............."
ActiveRecord::Base.connection.raw_connection.exec(sql) { |row| ..... }
Without bind variables, just plan text sql.
And that code throws exception - ORA-00979 not a GROUP BY expression.

In standalone ruby script with simple ruby-oci8 (without rails activerecord) that SQL worked OK.

After long debug I found that query in oracle (alter session trace_enabled = TRUE) looks like this:

SELECT trunc(d.col, :"SYS_B_001"), ......
FROM a, b
WHERE a.pk_date =
trunc(sysdate)
AND b.name = :"SYS_B_002"
AND b.c1 = d.c1
GROUP BY b.name, trunc(d.col, :"SYS_B_003")

That is, at some stage parameterization was occured, and for same values ('hh') ther are differrent placeholder names.
I searched how to turn off that parametrization but not found.

Ruby 2.1.0

When building for Ruby 2.1.0 I get 'extconf.rb:170:in `

': unsupported ruby version: 2.1.' Is there a way around this?

Rutger

Segmentation fault

I have a segmentation fault occurring with BLOB columns and many reads. I am having a hard time diagnosing the issue. It seems to me that I may be hitting a threading bug or something. Any assistance in helping me identify the issue would be greatly appreciated.

https://gist.github.com/3955450

ruby 1.9.3p194 [x86_64-linux]
rails 3.2.8
activerecord-oracle_enhanced-adapter 1.4.1
ruby-oci8 2.1.2

oci8 initialization error

Hi,

I am using ruby-oci8 gem in my project. Everything works fine when I require "oci8" before an internal gem but when I change the order, oci8 initialization fails.

The internal gem is a C extension gem which contains some .c files and .so files in addition to .rb files.

I got the following error :
OCIError: OCI Library Initialization Error
from oci8lib.c:127:in oci8lib.so
.....
.....

The snippet from oci8lib.c where the error occurs:
124 /* allocate a temporary errhp to pass Init_oci_number() */
125 rv = OCIEnvCreate(&envhp, oci8_env_mode, NULL, NULL, NULL, NULL, 0, NULL);
126 if (rv != OCI_SUCCESS) {
127 oci8_raise_init_error();
128 }

Thanks,
Rushi

Nonblocking logon/logoff

Is it possible to login/logoff in a nonblocking way? Nonblocking mode described in documentation seems to be working only for queries.

As a workaround following works for me on logon, allowing me to abort with CTRL+C in case of network issues, etc.:

# Delegate login to a separate thread as OCI8.new seems to ignore interrupts
begin
  thread = Thread.new { @oci = OCI8.new(credentials) }
  thread.join
rescue Interrupt
  thread.exit
  raise
end

For logoff, this doesn't even work. Interrupt is caught, but both thread.exit and Kernel.exit hang. Only Kernel.exit! allows me to shut down, but I suppose that's not too clean. I wonder if it's a bug or I'm doing something wrong?

ORA-01805 and 11gR2

Hi,

I have recently released Instant Client 64-bit 11.2.0.3 for Mac OS X on my Mountain Lion (10.8.2). It has futher timezone parameters:

gordon@gordon-pc /usr/local/oracle/instantclient_11_2 $ ./genezi -v
Client Shared Library 64-bit - 11.2.0.3.0

System name:    Darwin
Release:    12.2.0
Version:    Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
Machine:    x86_64

Operating in Instant Client mode.
Small timezone file = timezone_14.dat
Large timezone file = timezlrg_14.dat

I also have Oracle Database 11.2.0.2:

oracle@medvedev:~$ genezi -v
Client Shared Library 64-bit - 11.2.0.2.0

System name:    Linux
Release:    2.6.32-5-amd64
Version:    #1 SMP Mon Jan 16 16:22:28 UTC 2012
Machine:    x86_64

Operating in Instant Client mode.
Small timezone file = timezone_17.dat
Large timezone file = timezlrg_17.dat

As you can see server and my local library have different versions of timezone files. So I get "ORA-01805 possible error in date/time operation" raised from ocidatetime.c:119 in version 2.1.4. But Oracle documentation tells that I can work when client and server have different tz files: http://docs.oracle.com/cd/E14072_01/appdev.112/e10646/oci10new.htm#LNOCI16761. I tried to comment line with check and it seems to be working now.

Is it right that the check could be modified for work in 11gR2 environment? Main problem is that I can't build new Instant Client because there is no Oracle Database for Mac OS X.

Could not find ruby-oci8-2.1.x in any of the sources

When i install the gem using bundler from the GIT repo

# Gemfile
gem 'ruby-oci8', :git => 'git://github.com/kubo/ruby-oci8.git'

I receive the error "Could not find ruby-oci8-2.1.x in any of the sources" whenever I run rails generators. However, my application loads and runs, I can even run the rails console and connect to oracle just fine. It's just the generator scripts that throw this error. I believe it may be a problem with bundler, but I'm not for sure. Any leads?

My environment is Ubuntu Server 11.10 with RVM and Ruby 1.9.3-p0

How to get the primary key of a table using OCI8::Metadata class?

I was going through the documentation pages of OCI8::Metadata class, http://ruby-oci8.rubyforge.org/en/OCI8/Metadata.html and couldn't find any method to get primary keys of a table. 'display' method on a "OCI8::Metadata::Column" instance only gives the actual column definition and other attributes like UNIQUE or NOT NULL but no information about primary key. Is there any method to get this info?

This is not really an issue and best place for asking this will be RubyForge forums but it seems to be down from quite some time.

Install on windows fails against Ruby 2.0.0p195

The windows version of OCI8 fails to install against Ruby 2.0.0:

C:\Ruby200-x64\bin>.\ruby -v
ruby 2.0.0p195 (2013-05-14) [x64-mingw32]

C:\Ruby200-x64\bin>.\gem install ruby-oci8
Fetching: ruby-oci8-2.1.5-x64-mingw32.gem (100%)  
ERROR:  Error installing ruby-oci8:
        ruby-oci8 requires Ruby version = 2.0.0.

I found the comments in #25 and attempted to correct the problem myself, but there doesn't seem to be a file ext/oci8/oraconf.rb in the windows build of the gem. Could you suggest what I need to do to get this to install?

Thanks.

test_select2(TestObj1) failed since e55cc41ad82b04338faeec9d3bd87a65facc63e9

test_select2(TestObj1) gets a failure since e55cc41

$ make check
ruby -w setup.rb setup
setup.rb:278: warning: assigned but unused variable - vname
setup.rb:278: warning: assigned but unused variable - desc
setup.rb:278: warning: assigned but unused variable - default2
setup.rb:109: Use RbConfig instead of obsolete and deprecated Config.
---> lib
---> lib/oci8
<--- lib/oci8
---> lib/dbd
<--- lib/dbd
<--- lib
---> ext
---> ext/oci8
make
make[1]: Entering directory `/home/yahonda/git/ruby-oci8/ext/oci8'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/yahonda/git/ruby-oci8/ext/oci8'
<--- ext/oci8
<--- ext
ruby -w setup.rb test
setup.rb:278: warning: assigned but unused variable - vname
setup.rb:278: warning: assigned but unused variable - desc
setup.rb:278: warning: assigned but unused variable - default2
setup.rb:109: Use RbConfig instead of obsolete and deprecated Config.
mkdir -p ./test
/home/yahonda/.rvm/rubies/ruby-1.9.3-p194/bin/ruby -w -I/home/yahonda/git/ruby-oci8/ext/oci8 -I/home/yahonda/git/ruby-oci8/lib -I/home/yahonda/git/ruby-oci8/support -I/home/yahonda/git/ruby-oci8/test /home/yahonda/git/ruby-oci8/test/test_all.rb
/home/yahonda/git/ruby-oci8/lib/oci8/object.rb:397: warning: assigned but unused variable - args
lib/rational.rb is deprecated
/home/yahonda/git/ruby-oci8/test/test_bind_time.rb:86: warning: assigned but unused variable - day_in
/home/yahonda/git/ruby-oci8/test/test_bind_time.rb:87: warning: assigned but unused variable - time_out
/home/yahonda/git/ruby-oci8/test/test_oci8.rb:220: warning: assigned but unused variable - dttm
/home/yahonda/git/ruby-oci8/test/test_metadata.rb:897: warning: assigned but unused variable - descs
/home/yahonda/git/ruby-oci8/test/test_metadata.rb:997: warning: assigned but unused variable - descs
/home/yahonda/git/ruby-oci8/test/test_object.rb:143: warning: assigned but unused variable - ival
Run options:

# Running tests:

.............Skip test_bind_string_as_nchar. It needs Oracle server whose database chracter set is incompatible with unicode.
....................................................unsupported return type (MDSYS.SDO_GEOMETRY.GET_WKB)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_WKT)
unsupported return type (MDSYS.SDO_GEOMETRY.ST_COORDDIM)
.....F......................F....................................................................

Finished tests in 42.528740s, 3.8092 tests/s, 220.4862 assertions/s.

... snip ...

  2) Failure:
test_select2(TestObj1) [/home/yahonda/git/ruby-oci8/test/test_object.rb:231]:
<#<DateTime: 1012-06-08T09:11:13+09:00 ((2090850j,673s,0n),+32400s,2299161j)>> expected but was
<#<DateTime: 1012-06-08T09:11:13+09:18 ((2090849j,85993s,0n),+33480s,2299161j)>>.

162 tests, 9377 assertions, 2 failures, 0 errors, 0 skips
$

Based on the git bisect result, It says

$ git bisect good
e55cc41ad82b04338faeec9d3bd87a65facc63e9 is the first bad commit
commit e55cc41ad82b04338faeec9d3bd87a65facc63e9
Author: Kubo Takehiro <kubo@jiubao.org>
Date:   Fri May 25 21:08:21 2012 +0900

    Add tests of the previous commit.

:100644 100644 f08cbf2358d7c17bd1dae0a2930bf29a2e986272 3ec7d8e66f95301442c58e7e9bccab1b9fae7303 M      ChangeLog
:040000 040000 b919948ac07e9187d1404643728da8a6367690cb 00770eb938c96a797b27aafe98b853a34813c176 M      test

Environment

  • ruby
    ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
  • Oracle
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production on Linux x64(CentOS 6.3)

describe_table does not detect broken synonyms

I'm not sure how to run the tests, but I believe it's looking for an actual oracle install, which I don't have.

The issue that I came across was that our database had a table renamed, but the synonym was not updated. When I tried doing a desc on the synonym in sqlplus I got an error (I believe the error was "circular synonym". The problem has been fixed, so I can't repro now), but our app would get stacklevel too deep.

The issue is in #describe_table https://github.com/kubo/ruby-oci8/blob/master/lib/oci8/metadata.rb#L2015

cannot open shared object file: oci8lib_191.so

This happens everytine I try to use the oci8 gem, but the file it cannot find exists
1.9.3-p448 :001 > require 'oci8'
LoadError: libaio.so.1: cannot open shared object file: No such file or directory - /usr/local/rvm/gems/ruby-1.9.3-p448/gems/ruby-oci8-2.1.5/lib/oci8lib_191.so
from /usr/local/rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /usr/local/rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire'
from /usr/local/rvm/gems/ruby-1.9.3-p448/gems/ruby-oci8-2.1.5/lib/oci8.rb:81:in <top (required)>' from /usr/local/rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:inrequire'
from /usr/local/rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in rescue in require' from /usr/local/rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:inrequire'
from (irb):1
from /usr/local/rvm/rubies/ruby-1.9.3-p448/bin/irb:13:in `

'
1.9.3-p448 :002 > exit
root@hydra:/usr/local/lib/instantclient# ls -la /usr/local/rvm/gems/ruby-1.9.3-p448/gems/ruby-oci8-2.1.5/lib/oci8lib_191.so
-rwxr-xr-x 1 root rvm 678393 Nov 24 21:13 /usr/local/rvm/gems/ruby-1.9.3-p448/gems/ruby-oci8-2.1.5/lib/oci8lib_191.so

Error trying to use on Windows 7 32bits

Hi mate,

I'm creating a new application with Ruby 2.0, Rails 4 and Oracle as my database, but I'm having problem with this combination on Windows 7 (32 bits). After install all gems I'm trying to start the rails server and it's showing this error to me:

The gem path is C:/Ruby200/lib/ruby/gems/2.0.0/gems, just to understand the log error better 😉

../ruby-oci8-2.1.5-x86-mingw32/lib/oci8.rb:81:in 'initialize': wrong number of arguments (2 for 0..1) (ArgumentError)
from ../ruby-oci8-2.1.5-x86-mingw32/lib/oci8.rb:81:in 'new'
from ../ruby-oci8-2.1.5-x86-mingw32/lib/oci8.rb:81:in 'require'
from ../ruby-oci8-2.1.5-x86-mingw32/lib/oci8.rb:81:in '<top (required)>'
from ../ruby-plsql-0.5.0/lib/plsql/oci_connection.rb:2:in 'require'
from ../ruby-plsql-0.5.0/lib/plsql/oci_connection.rb:2:in '<top (required)>'
from ../ruby-plsql-0.5.0/lib/ruby_plsql.rb:10:in 'require'
from../ruby-plsql-0.5.0/lib/ruby_plsql.rb:10:in '<top (required)>'
from ../ruby-plsql-0.5.0/lib/ruby-plsql.rb:1:in 'require'
from ../ruby-plsql-0.5.0/lib/ruby-plsql.rb:1:in '<top (required)>'
from ../bundler-1.3.5/lib/bundler/runtime.rb:72:in 'require'
from ../bundler-1.3.5/lib/bundler/runtime.rb:72:in 'block (2 levels) in require'
from ../bundler-1.3.5/lib/bundler/runtime.rb:70:in 'each'
from ../bundler-1.3.5/lib/bundler/runtime.rb:70:in 'block in require'
from ../bundler-1.3.5/lib/bundler/runtime.rb:59:in 'each'
from ../bundler-1.3.5/lib/bundler/runtime.rb:59:in 'require'
from ../bundler-1.3.5/lib/bundler.rb:132:in 'require'
from C:/Sites/comics/config/application.rb:7:in '<top (required)>'
from ../railties-4.0.0/lib/rails/commands.rb:76:in 'require'
from ../railties-4.0.0/lib/rails/commands.rb:76:in 'block in <top (required)>'
from ../railties-4.0.0/lib/rails/commands.rb:73:in 'tap'
from ../railties-4.0.0/lib/rails/commands.rb:73:in '<top (required)>'
from bin/rails:4:in 'require'
from bin/rails:4:in '

'

This error is known? I'm lost with this error message. Is there anything to solve it?

Thanks in advance.

Ubuntu Oneiric Ocelot installation issue, gcc: error: unrecognized option ‘-j5’ issue

Messages printed out to the console

bbozo@maroko:/etc$ gem install ruby-oci8
Building native extensions.  This could take a while...
ERROR:  Error installing ruby-oci8:
        ERROR: Failed to build gem native extension.

        /home/bbozo/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb
checking for load library path... 
  LD_LIBRARY_PATH... 
    checking /opt/oracle/product/11.2.0/client_1/lib/... yes
  /opt/oracle/product/11.2.0/client_1/lib/libclntsh.so.11.1 looks like a full client.
checking for cc... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/home/bbozo/.rvm/rubies/ruby-1.9.2-p180/bin/ruby
        --with-instant-client
        --without-instant-client
/home/bbozo/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': RuntimeError (RuntimeError)
        from /home/bbozo/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:435:in `try_link0'
        from /home/bbozo/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:615:in `try_run'
        from /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:563:in `check_cc'
        from /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:553:in `init'
        from /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:701:in `initialize'
        from /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:319:in `new'
        from /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:319:in `get'
        from extconf.rb:18:in `<main>'
---------------------------------------------------
Error Message:
  The complier failed to generate an executable file.
  You have to install development tools first.

Backtrace:
  /home/bbozo/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:368:in `try_do'
  /home/bbozo/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:435:in `try_link0'
  /home/bbozo/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:615:in `try_run'
  /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:563:in `check_cc'
  /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:553:in `init'
  /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:701:in `initialize'
  /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:319:in `new'
  /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:319:in `get'
  extconf.rb:18:in `<main>'
---------------------------------------------------
See:
 * http://ruby-oci8.rubyforge.org/en/HowToInstall.html
 * http://ruby-oci8.rubyforge.org/en/ReportInstallProblem.html



Gem files will remain installed in /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2 for inspection.
Results logged to /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/gem_make.out

gem_make.out

bbozo@maroko:~/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2$ cat /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/gem_make.out
/home/bbozo/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb
checking for load library path... 
  LD_LIBRARY_PATH... 
    checking /opt/oracle/product/11.2.0/client_1/lib/... yes
  /opt/oracle/product/11.2.0/client_1/lib/libclntsh.so.11.1 looks like a full client.
checking for cc... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/home/bbozo/.rvm/rubies/ruby-1.9.2-p180/bin/ruby
        --with-instant-client
        --without-instant-client
/home/bbozo/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': RuntimeError (RuntimeError)
        from /home/bbozo/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:435:in `try_link0'
        from /home/bbozo/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:615:in `try_run'
        from /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:563:in `check_cc'
        from /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:553:in `init'
        from /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:701:in `initialize'
        from /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:319:in `new'
        from /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:319:in `get'
        from extconf.rb:18:in `<main>'
---------------------------------------------------
Error Message:
  The complier failed to generate an executable file.
  You have to install development tools first.

Backtrace:
  /home/bbozo/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:368:in `try_do'
  /home/bbozo/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:435:in `try_link0'
  /home/bbozo/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:615:in `try_run'
  /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:563:in `check_cc'
  /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:553:in `init'
  /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:701:in `initialize'
  /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:319:in `new'
  /home/bbozo/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:319:in `get'
  extconf.rb:18:in `<main>'
---------------------------------------------------
See:
 * http://ruby-oci8.rubyforge.org/en/HowToInstall.html
 * http://ruby-oci8.rubyforge.org/en/ReportInstallProblem.html

Last 100 lines of 'ext/oci8/mkmf.log'

bbozo@maroko:~/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2$ tail -100 ext/oci8/mkmf.log
"gcc -o conftest -I/home/bbozo/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/bbozo/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/bbozo/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.     -j5 -fPIC conftest.c  -L. -L/home/bbozo/.rvm/rubies/ruby-1.9.2-p180/lib -Wl,-R/home/bbozo/.rvm/rubies/ruby-1.9.2-p180/lib -L.  -rdynamic -Wl,-export-dynamic     -Wl,-R -Wl,/home/bbozo/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/bbozo/.rvm/rubies/ruby-1.9.2-p180/lib -lruby-static  -lpthread -lrt -ldl -lcrypt -lm   -lc"
gcc: error: unrecognized option ‘-j5’
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main() {return 0;}
/* end */

bbozo@maroko:~/.rvm/gems/ruby-1.9.2-p180/gems/ruby-oci8-2.1.2$ 

And the command output listing

bbozo@maroko:/etc$  ruby --version
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
bbozo@maroko:/etc$  ruby -r rbconfig -e "p Config::CONFIG['host']"
"x86_64-unknown-linux-gnu"
bbozo@maroko:/etc$  ruby -r rbconfig -e "p Config::CONFIG['CC']"
"gcc"
bbozo@maroko:/etc$  ruby -r rbconfig -e "p Config::CONFIG['CFLAGS']"
" -j5 -fPIC"
bbozo@maroko:/etc$  ruby -r rbconfig -e "p Config::CONFIG['LDSHARED']"
"gcc -shared"
bbozo@maroko:/etc$  ruby -r rbconfig -e "p Config::CONFIG['LDFLAGS']"
"-L.  -rdynamic -Wl,-export-dynamic"
bbozo@maroko:/etc$  ruby -r rbconfig -e "p Config::CONFIG['DLDLAGS']"
nil
bbozo@maroko:/etc$  ruby -r rbconfig -e "p Config::CONFIG['LIBS']"
"-lpthread -lrt -ldl -lcrypt -lm "
bbozo@maroko:/etc$  ruby -r rbconfig -e "p Config::CONFIG['GNU_LD']"
"no"
bbozo@maroko:/etc$ 
bbozo@maroko:/etc$  # if you use gcc,
bbozo@maroko:/etc$  gcc --print-prog-name=ld
ld
bbozo@maroko:/etc$  gcc --print-prog-name=as
as
bbozo@maroko:/etc$ 
bbozo@maroko:/etc$  # Oracle full client
bbozo@maroko:/etc$  file $ORACLE_HOME/bin/oracle
/opt/oracle/product/11.2.0/client_1/bin/oracle: ERROR: cannot open `/opt/oracle/product/11.2.0/client_1/bin/oracle' (No such file or directory)
bbozo@maroko:/etc$ 
bbozo@maroko:/etc$  # Oracle Instant client. You need to change INSTANT_CLIENT_DIRECTORY.
bbozo@maroko:/etc$  file /opt/oracle/product/11.2.0/client_1/lib/libclntsh.*
/opt/oracle/product/11.2.0/client_1/lib/libclntsh.so:      symbolic link to `/opt/oracle/product/11.2.0/client_1/lib/libclntsh.so.11.1'
/opt/oracle/product/11.2.0/client_1/lib/libclntsh.so.10.1: symbolic link to `/opt/oracle/product/11.2.0/client_1/lib/libclntsh.so'
/opt/oracle/product/11.2.0/client_1/lib/libclntsh.so.11.1: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
bbozo@maroko:/etc$ 
bbozo@maroko:/etc$  echo $LD_LIBRARY_PATH
:/opt/oracle/product/11.2.0/client_1/lib/:/opt/oracle/product/11.2.0/client_1/lib/
bbozo@maroko:/etc$  echo $LIBPATH              # AIX

bbozo@maroko:/etc$  echo $SHLIB_PATH           # HP-UX PA-RISC 32-bit ruby

bbozo@maroko:/etc$  echo $DYLD_LIBRARY_PATH    # Mac OS X

bbozo@maroko:/etc$  echo $LD_LIBRARY_PATH_32   # Solaris 32-bit ruby

bbozo@maroko:/etc$  echo $LD_LIBRARY_PATH_64   # Solaris 64-bit ruby

Would be glad to kick out the -j5 flag from CFLAGS if I could find a way how. Any help is greatly appreciated, can't continue work without this.

Borna

Cygwin issue: makefile not working, not specifying which libs are missing

I'm using Cygwin on Windows 7. I've most of the packages installed to make the ruby-c-extended gems work. Just having issues currently with this one. I tried to build it locally, as specified in one of your receipts. This is the output for calling make on it:

$ make
ruby -w setup.rb config
setup.rb:278: warning: assigned but unused variable - vname
setup.rb:278: warning: assigned but unused variable - desc
setup.rb:278: warning: assigned but unused variable - default2
setup.rb:109: Use RbConfig instead of obsolete and deprecated Config.
---> lib
---> lib/dbd
<--- lib/dbd
---> lib/oci8
<--- lib/oci8
<--- lib
---> ext
---> ext/oci8
/usr/bin/ruby /home/Tiago/Projects/ruby-oci8-2.1.2/ext/oci8/extconf.rb
checking for load library path...
PATH...
checking /usr/local/bin... no
checking /usr/bin... no
checking /cygdrive/c/Program Files (x86)/HP SimplePass 2012... no
checking /cygdrive/c/Program Files (x86)/AMD APP/bin/x86_64... no
checking /cygdrive/c/Program Files (x86)/AMD APP/bin/x86... no
checking /cygdrive/c/Program Files/Broadcom/Broadcom 802.11/Driver... no
checking /cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live... no
checking /cygdrive/c/Program Files (x86)/Common Files/Microsoft Shared/Windows Live... no
checking /cygdrive/c/Windows/system32... no
checking /cygdrive/c/Windows... no
checking /cygdrive/c/Windows/System32/Wbem... no
checking /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0... no
checking /cygdrive/c/Program Files (x86)/Windows Live/Shared... no
checking /cygdrive/c/Program Files/WIDCOMM/Bluetooth Software... no
checking /cygdrive/c/Program Files/WIDCOMM/Bluetooth Software/syswow64... no
checking /cygdrive/c/Program Files/Broadcom/WHL... no
checking /cygdrive/c/Program Files/Broadcom/WHL/syswow64... no
checking /cygdrive/c/Program Files/Broadcom/WHL/SysWow64... no
checking /cygdrive/c/Program Files/Broadcom/WHL/SysWow64/syswow64... no
checking /cygdrive/c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static... no
checking /cygdrive/c/Program Files (x86)/Intel/Services/IPT... no
checking /usr/bin... no
checking /cygdrive/c/RailsInstaller/Git/cmd... no
checking /cygdrive/c/RailsInstaller/Ruby1.9.3/bin... no
checking /cygdrive/c/Program Files (x86)/Git/bin... no
checking /cygdrive/c/Program Files/Java/jdk1.7.0_07/bin... no
checking /cygdrive/c/bin... no
checking /usr/lib/lapack... no
checking for cc... ok
checking for gcc... yes
checking for LP64... no
checking for sys/types.h... yes

checking for ruby header... ok

Error Message:
MiniRegistry::MiniRegistryError
Backtrace:
/home/Tiago/Projects/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:56:in enum_homes' /home/Tiago/Projects/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:785:inget_home'
/home/Tiago/Projects/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:703:in initialize' /home/Tiago/Projects/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:319:innew'
/home/Tiago/Projects/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:319:in `get'

/home/Tiago/Projects/ruby-oci8-2.1.2/ext/oci8/extconf.rb:18:in `'

See:

*** /home/Tiago/Projects/ruby-oci8-2.1.2/ext/oci8/extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/
--with-make-prog
--without-make-prog
--srcdir=/home/Tiago/Projects/ruby-oci8-2.1.2/ext/oci8
--curdir
--ruby=/usr/bin/ruby
--with-instant-client
--without-instant-client
/home/Tiago/Projects/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:56:in enum_homes': RuntimeError (RuntimeError) from /home/Tiago/Projects/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:785:inget_home'
from /home/Tiago/Projects/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:703:in initialize' from /home/Tiago/Projects/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:319:innew'
from /home/Tiago/Projects/ruby-oci8-2.1.2/ext/oci8/oraconf.rb:319:in get' from /home/Tiago/Projects/ruby-oci8-2.1.2/ext/oci8/extconf.rb:18:in

'
'system /usr/bin/ruby /home/Tiago/Projects/ruby-oci8-2.1.2/ext/oci8/extconf.rb ' failed
Try 'ruby setup.rb --help' for detailed usage.
Makefile:8: recipe for target `config.save' failed
make: *** [config.save] Error 1

By the way, the RailsInstaller issue stating a 'no' is puzzling because in cygwin I should be using cygwin's ruby.

make check got 1 error when Oracle Spatial is not installed

Hi,

make check got 1 error when Oracle Spatial is not installed

  3) Error:
test_column_metadata(TestMetadata):
OCIError: ORA-00902: invalid datatype
$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
$ echo $TZ
America/New_York
[yahonda@myoel5 ruby-oci8]$ make check
ruby -w setup.rb setup
setup.rb:278: warning: assigned but unused variable - vname
setup.rb:278: warning: assigned but unused variable - desc
setup.rb:278: warning: assigned but unused variable - default2
setup.rb:109: Use RbConfig instead of obsolete and deprecated Config.
---> lib
---> lib/dbd
<--- lib/dbd
---> lib/oci8
<--- lib/oci8
<--- lib
---> ext
---> ext/oci8
make 
make[1]: Entering directory `/home/yahonda/Dropbox/git/ruby-oci8/ext/oci8'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/yahonda/Dropbox/git/ruby-oci8/ext/oci8'
<--- ext/oci8
<--- ext
ruby -w setup.rb test
setup.rb:278: warning: assigned but unused variable - vname
setup.rb:278: warning: assigned but unused variable - desc
setup.rb:278: warning: assigned but unused variable - default2
setup.rb:109: Use RbConfig instead of obsolete and deprecated Config.
mkdir -p ./test
/home/yahonda/.rvm/rubies/ruby-1.9.3-p0/bin/ruby -w -I/home/yahonda/Dropbox/git/ruby-oci8/ext/oci8 -I/home/yahonda/Dropbox/git/ruby-oci8/lib -I/home/yahonda/Dropbox/git/ruby-oci8/support -I/home/yahonda/Dropbox/git/ruby-oci8/test /home/yahonda/Dropbox/git/ruby-oci8/test/test_all.rb
/home/yahonda/Dropbox/git/ruby-oci8/lib/oci8/object.rb:374: warning: assigned but unused variable - args
lib/rational.rb is deprecated
/home/yahonda/Dropbox/git/ruby-oci8/test/test_bind_time.rb:86: warning: assigned but unused variable - day_in
/home/yahonda/Dropbox/git/ruby-oci8/test/test_bind_time.rb:87: warning: assigned but unused variable - time_out
/home/yahonda/Dropbox/git/ruby-oci8/test/test_oci8.rb:218: warning: assigned but unused variable - dttm
/home/yahonda/Dropbox/git/ruby-oci8/test/test_metadata.rb:887: warning: assigned but unused variable - descs
/home/yahonda/Dropbox/git/ruby-oci8/test/test_metadata.rb:987: warning: assigned but unused variable - descs
Run options: 

# Running tests:

..F..............................F.............................E........F......F....................................................................

Finished tests in 53.515697s, 2.7655 tests/s, 142.3881 assertions/s.

  1) Failure:
test_set_client_info(TestAppInfo) [/home/yahonda/Dropbox/git/ruby-oci8/test/test_appinfo.rb:57]:
Expected "ruby-oci8:9216" to be nil.

  2) Failure:
test_busy_and_open_count(TestConnectionPool) [/home/yahonda/Dropbox/git/ruby-oci8/test/test_connection_pool.rb:101]:
<3> expected but was
<2>.

  3) Error:
test_column_metadata(TestMetadata):
OCIError: ORA-00902: invalid datatype
    stmt.c:241:in oci8lib_191.so
    /home/yahonda/Dropbox/git/ruby-oci8/lib/oci8/oci8.rb:427:in `exec'
    /home/yahonda/Dropbox/git/ruby-oci8/lib/oci8/oci8.rb:255:in `exec_internal'
    /home/yahonda/Dropbox/git/ruby-oci8/lib/oci8/oci8.rb:248:in `exec'
    /home/yahonda/Dropbox/git/ruby-oci8/test/test_metadata.rb:1376:in `test_column_metadata'

  4) Failure:
test_bind_cursor(TestOCI8) [/home/yahonda/Dropbox/git/ruby-oci8/test/test_oci8.rb:221]:
<2002-08-03 23:59:59 -0400> expected but was
<2002-08-03 23:59:59 -0500>.

  5) Failure:
test_select(TestOCI8) [/home/yahonda/Dropbox/git/ruby-oci8/test/test_oci8.rb:128]:
<2002-08-03 23:59:59 -0400> expected but was
<2002-08-03 23:59:59 -0500>.

148 tests, 7620 assertions, 4 failures, 1 errors, 0 skips
[yahonda@myoel5 ruby-oci8]$ 
SQL> select * from v$version;

BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE    10.2.0.5.0      Production
TNS for Linux: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
----- Error Stack Dump -----
ORA-00902: invalid datatype
----- Current SQL Statement for this session (sql_id=0sv4u38ahc752) -----
CREATE TABLE test_table (C1 CHAR(10) NOT NULL,C2 CHAR(10 CHAR),C3 NCHAR(10),C4 VARCHAR2(10),C5 VARCHAR2(10 CHAR),C6 NVARCHAR2(10),C7 RAW(10),C8 CLOB,C9 NCLOB,C10 BLOB,C11 BFILE,C12 NUMBER,C13 NUMBER(10),C14 NUMBER(10,2),C15 FLOAT,C16 FLOAT(10),C17 BINARY_FLOAT,C18 BINARY_DOUBLE,C19 DATE,C20 TIMESTAMP,C21 TIMESTAMP(9),C22 TIMESTAMP WITH TIME ZONE,C23 TIMESTAMP(9) WITH TIME ZONE,C24 TIMESTAMP WITH LOCAL TIME ZONE,C25 TIMESTAMP(9) WITH LOCAL TIME ZONE,C26 INTERVAL YEAR TO MONTH,C27 INTERVAL YEAR(4) TO MONTH,C28 INTERVAL DAY TO SECOND,C29 INTERVAL DAY(4) TO SECOND(9),C30 MDSYS.SDO_GEOMETRY)
STORAGE (
   INITIAL 100k
   NEXT 100k
   MINEXTENTS 1
   MAXEXTENTS UNLIMITED
   PCTINCREASE 0)

ORA-00902 is caused by MDSYS.SDO_GEOMETRY datatype does not exist at Oracle database.
Once Oracle Spatial is installed and configured, this error disappears then "unsupported return type" message appears.

# Running tests:
.................................F.............................unsupported return type (MDSYS.SDO_GEOMETRY.GET_WKB)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_WKT)
unsupported return type (MDSYS.SDO_GEOMETRY.ST_COORDDIM)
.........F......F....................................................................

It looks my environmental issue, if anyone got the same error I hope this helps.

Assertion failure using LDAP

My development machine uses ruby-oci8 against the Oracle Instant Client (OS X) just fine. When I move to production (Ubuntu 64-bit), I encounter some errors.

ruby-oci8 actually continues to work fine under a simple 'irb' but when I switch to using 'bundle exec rake my_oracle_task', the OCI8.new line fails with the following:

user@host:~$ bundle exec rake banner:import
ruby: getentry.c:35: ldap_first_entry: Assertion `( (ld)->ldc->ldc_options.ldo_valid == 0x2 )' failed.

From reading around the Internet, it appears this problem may be related to another library using the system LDAP (openldap?) instead of the Oracle functions. I have no idea what that other library would be.

I think this is related: http://stackoverflow.com/a/15322554/98647

Do you have any idea what's going on here and how I can go about debugging? I've wasted a few hours trying various things like following his suggestions in modifying ruby-oci8 to adjusting the order of gems loaded in Bundler, etc.

Problems inserting rows

Greetings,

I have Oracle Instant Client 11.2.0.3 installed on a MacMini running Mountain Lion (10.8.3). I am able to create, selected and insert into tables from SQLPlus. However, using Ruby 1.9.3p327 and ruby-oci8-2.1.5, I am able to select but not insert. Insert operation returns 1 (I'm assuming that means success), an immediate select returns the row (is it cached on the client?) but the row is not effectively persisted in the database, and a subsequent select from ruby or SQLPlus returns no rows.

I've checked with Wireshark that there is data going to and coming back from the server box (Windows 7 running Oracle Server Personal Edition 11g Release 2).

Any ideas? All help will be greatly appreciated.

Best regards, Adolfo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.