Skip to content

Commit

Permalink
Zeitwerk autoload fixes (#1709)
Browse files Browse the repository at this point in the history
* corrected gemfile generation

* loaded active_graph in railtie

* removed commented code from gemfile
  • Loading branch information
mrhardikjoshi authored Dec 24, 2023
1 parent b9e4b9b commit 4ffc7f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 0 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down
2 changes: 1 addition & 1 deletion docs/activegraph.rb
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 2 additions & 0 deletions lib/active_graph/railtie.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'active_graph'

module ActiveGraph
class Railtie < ::Rails::Railtie
def empty_config
Expand Down

0 comments on commit 4ffc7f1

Please sign in to comment.