# NetBeans can't find OracleAdapter

**URL:** <https://www.ruby-forum.com/t/netbeans-cant-find-oracleadapter/150939>\
**Category:** Rails\
**Created:** [October 15, 2008, 1:03am UTC](https://www.ruby-forum.com/t/netbeans-cant-find-oracleadapter/150939 "2008-10-15T01:03:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kelleysislander](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f6c823/32.png) [@kelleysislander](https://www.ruby-forum.com/u/kelleysislander)\
**Post date:** [October 15, 2008, 1:03am UTC](https://www.ruby-forum.com/t/netbeans-cant-find-oracleadapter/150939/1 "2008-10-15T01:03:04Z")

</div>

I’m sort of cross-posting the following from the NetBeans forum in  
hopes that maybe someone here might have an idea:

I’m having a strange issue with the NetBeans nightly from 10/14 (and  
before that, I was having the same issue with the one from 10/11). I  
haven’t tried 6.1 or earlier.

In a project, I have this line in my environment.rb file:

ActiveRecord::ConnectionAdapters::OracleAdapter.emulate\_booleans =  
false

I can start my server, run migrations, and run the console for that  
project from the command line with no issues. But when I try to do any  
of those things within NetBeans, I get this error:

/Users/bkocik/Dev/mydir/my\_project/vendor/rails/activerecord/lib/…/…/  
activesupport/lib/active\_support/dependencies.rb:263:in  
`load\_missing\_constant’:NameError: uninitialized constant  
ActiveRecord::ConnectionAdapters::OracleAdapter

NetBeans has the same GEM\_HOME setting as my shell environment (I use  
OS X), and neither NB nor my shell have a GEM\_PATH set. I should point  
out that NB doesn’t seem to have issues finding other gems, it’s just  
this OracleAdapter one (and it’s definitely installed):

$ gem list | grep oracle  
activerecord-oracle-adapter (1.0.0.9250)

I’m not sure what else to try in order to resolve this. Anyone have  
suggestions?

Thanks . . .
