Skip to content

Commit

Permalink
Require makara in makara abstract adapter
Browse files Browse the repository at this point in the history
When using rails 4.1.2 release candidates, servers are unable to start because of
an error,

```
uninitialized constant Makara
from /path/to/bundle/ruby/2.1.0/bundler/gems/makara-59b01c0ecfec/lib/active_record/connection_adapters/makara_abstract_adapter.rb:4:in `<module:ActiveRecord>'
from /path/to/bundle/ruby/2.1.0/bundler/gems/makara-59b01c0ecfec/lib/active_record/connection_adapters/makara_abstract_adapter.rb:3:in `<top (required)>'
from /path/to/bundle/ruby/2.1.0/bundler/gems/makara-59b01c0ecfec/lib/active_record/connection_adapters/makara_postgresql_adapter.rb:1:in `<top (required)>'
```

I think that ActiveRecord must be requiring files in some slightly different order
than expected.
  • Loading branch information
sax committed Jul 24, 2014
1 parent 59b01c0 commit 92306e8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require 'active_record'
require 'makara'

module ActiveRecord
module ConnectionAdapters
Expand Down

0 comments on commit 92306e8

Please sign in to comment.