diff --git a/Gemfile b/Gemfile index f0c1230c3..0d865053a 100644 --- a/Gemfile +++ b/Gemfile @@ -2,10 +2,6 @@ source 'http://rubygems.org' gemspec -# gem 'neo4j-ruby-driver', path: '../neo4j-ruby-driver' - -# gem 'listen', '< 3.1' - active_model_version = ENV['ACTIVE_MODEL_VERSION'] gem 'activemodel', "~> #{active_model_version}" if active_model_version&.length&.positive? diff --git a/docs/activegraph.rb b/docs/activegraph.rb index 5e2f45cba..e7ab08cd8 100644 --- a/docs/activegraph.rb +++ b/docs/activegraph.rb @@ -1,6 +1,6 @@ # Usage: rails new myapp -m activegraph.rb -gem 'activegraph', '=> 11.1' +gem 'activegraph', '>= 11.1' gem_group :development do gem 'neo4j-rake_tasks' diff --git a/lib/active_graph/railtie.rb b/lib/active_graph/railtie.rb index 0abc81f26..3c7839e7d 100644 --- a/lib/active_graph/railtie.rb +++ b/lib/active_graph/railtie.rb @@ -1,3 +1,5 @@ +require 'active_graph' + module ActiveGraph class Railtie < ::Rails::Railtie def empty_config