Please send a pull request with this documentation and we will review.

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



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

> By the way, thank you!!!!!!!!
>
> On Sep 17, 12:35 pm, BobBuck <[email protected]> wrote:
> > Oh, sigh.
> >
> > Now I do :)
> >
> > Can we add some documentation around this under the banner of "Writing
> > an ActiveRecord Adapter"? Unless I missed it, I have not seen this
> > sort of doc and wish I had. Or should I just change the doc myself
> > (README) and push a pull request with the steps needed?
> >
> > Bob
> >
> > diff --git a/Gemfile b/Gemfile
> > index 0960e3d..85694b9 100644
> > --- a/Gemfile
> > +++ b/Gemfile
> > @@ -95,3 +95,6 @@ end
> >
> >  # A gem necessary for ActiveRecord tests with IBM DB
> >  gem 'ibm_db' if ENV['IBM_DB']
> > +
> > +gem 'nuodb' if ENV['NUODB_AR']
> > +gem 'activerecord-nuodb-adapter' if ENV['NUODB_AR']
> >
> > On Sep 17, 12:30 pm, Rafael Mendonça França <[email protected]>
> > wrote:
> >
> >
> >
> >
> >
> >
> >
> > > 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çahttp://
> twitter.com/rafaelfrancahttps://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-...
> >
> > > > 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.
>
>

-- 
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