Did you put the gem in the Rails Gemfile?

Here an example: https://github.com/rails/rails/blob/master/Gemfile#L98

You can use a .Gemfile in you own repository to not commit this addition.

Rafael Mendonça França
http://twitter.com/rafaelfranca
https://github.com/rafaelfranca



On Mon, Sep 17, 2012 at 1:27 PM, BobBuck <[email protected]> wrote:

> Yep, I have a separate Gem with that file in it. That Gem is in my Gem
> list. When I run my own tests, or run sample applications, no problem.
> But when I try to run the "compliance" tests in Rails the tests fail
> to pick up what is already on the load path.
>
> The gem I am working on is here:
>
>
> https://github.com/nuodb/nuodb-drivers/tree/master/ruby/activerecord-nuodb-adapter
>
> Thanks for the response. Are there any other strategies to solve this,
> or clues why this won't work for me?
>
> Bob
>
> On Sep 17, 12:21 pm, Rafael Mendonça França <[email protected]>
> wrote:
> > Do you have this file in your adpater?
> >
> > lib/active_record/connection_adapters/nuodb_adapter.rb
> >
> > To make it work you need to have exactly this file.
> >
> > Rafael Mendonça Françahttp://
> twitter.com/rafaelfrancahttps://github.com/rafaelfranca
> >
> >
> >
> >
> >
> >
> >
> > On Mon, Sep 17, 2012 at 12:55 PM, BobBuck <[email protected]> wrote:
> > > The tests are saying that I need to install the active record adapter
> > > for my database, but the adapter clearly has been installed. Any ideas
> > > of what may be going on here. Been looking at this for four days so
> > > far with no success at all.
> >
> > > $ ARCONN=nuodb ruby -Itest test/cases/base_test.rb
> > > Using nuodb with Identity Map off
> > > /Users/rbuck/dev/sandboxes/github.com/drivers/drivers/rails/
> > > activesupport/lib/active_support/dependencies.rb:251:in `require':
> > > Please install the nuodb adapter: `gem install activerecord-nuodb-
> > > adapter` (cannot load such file -- active_record/connection_adapters/
> > > nuodb_adapter) (LoadError)
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Ruby on Rails: Core" group.
> > > To post to this group, send email to [email protected]
> .
> > > To unsubscribe from this group, send email to
> > > [email protected].
> > > For more options, visit this group at
> > >http://groups.google.com/group/rubyonrails-core?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-core?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to