crate / activerecord-crate-adapter

Ruby on Rails ActiveRecord adapter for CrateDB
Apache License 2.0
26 stars 7 forks source link

Rails 4.0.4, problem with loading activerecord-crate-adapter #2

Closed alexrolls closed 10 years ago

alexrolls commented 10 years ago

Hi!

In Gemfile:

gem 'activerecord-crate-adapter', :git => "https://github.com/crate/activerecord-crate-adapter.git"

After bundle install, I'm trying to run rails console, see next problem:

bundle exec rails c
/Users/ais/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:229:in `require': cannot load such file -- active_record/connection_adapters/crate/table_definition (LoadError)
    from /Users/ais/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:229:in `block in require'
    from /Users/ais/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:214:in `load_dependency'
    from /Users/ais/.rvm/gems/ruby-1.9.3-p392/gems/activesupport-4.0.4/lib/active_support/dependencies.rb:229:in `require'
    from /Users/ais/.rvm/gems/ruby-1.9.3-p392/bundler/gems/activerecord-crate-adapter-868464d582e6/lib/active_record/connection_adapters/crate_adapter.rb:13:in `<top (required)>'
    from /Users/ais/.rvm/gems/ruby-1.9.3-p392/bundler/gems/activerecord-crate-adapter-868464d582e6/lib/activerecord-crate-adapter.rb:1:in `require'
    from /Users/ais/.rvm/gems/ruby-1.9.3-p392/bundler/gems/activerecord-crate-adapter-868464d582e6/lib/activerecord-crate-adapter.rb:1:in `<top (required)>'
    from /Users/ais/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.6.0/lib/bundler/runtime.rb:76:in `require'
    from /Users/ais/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.6.0/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
    from /Users/ais/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.6.0/lib/bundler/runtime.rb:72:in `each'
    from /Users/ais/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.6.0/lib/bundler/runtime.rb:72:in `block in require'
    from /Users/ais/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.6.0/lib/bundler/runtime.rb:61:in `each'
    from /Users/ais/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.6.0/lib/bundler/runtime.rb:61:in `require'
    from /Users/ais/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.6.0/lib/bundler.rb:132:in `require'
    from /Users/ais/Projects/crate_test/config/application.rb:7:in `<top (required)>'
    from /Users/ais/.rvm/gems/ruby-1.9.3-p392/gems/railties-4.0.4/lib/rails/commands.rb:60:in `require'
    from /Users/ais/.rvm/gems/ruby-1.9.3-p392/gems/railties-4.0.4/lib/rails/commands.rb:60:in `<top (required)>'
    from bin/rails:4:in `require'
    from bin/rails:4:in `<main>'

Thanks!

corck commented 10 years ago

Hi Alex, Fixed the loading. Still work in progress. There might be still issues though. Pls create issues what you find.

alexrolls commented 10 years ago

Hi Christoph, Thank you. I'll create ticket.