Skip to content

Commit 4ffc7f1

Browse files
Zeitwerk autoload fixes (#1709)
* corrected gemfile generation * loaded active_graph in railtie * removed commented code from gemfile
1 parent b9e4b9b commit 4ffc7f1

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

Gemfile

-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ source 'http://rubygems.org'
22

33
gemspec
44

5-
# gem 'neo4j-ruby-driver', path: '../neo4j-ruby-driver'
6-
7-
# gem 'listen', '< 3.1'
8-
95
active_model_version = ENV['ACTIVE_MODEL_VERSION']
106
gem 'activemodel', "~> #{active_model_version}" if active_model_version&.length&.positive?
117

docs/activegraph.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Usage: rails new myapp -m activegraph.rb
22

3-
gem 'activegraph', '=> 11.1'
3+
gem 'activegraph', '>= 11.1'
44

55
gem_group :development do
66
gem 'neo4j-rake_tasks'

lib/active_graph/railtie.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
require 'active_graph'
2+
13
module ActiveGraph
24
class Railtie < ::Rails::Railtie
35
def empty_config

0 commit comments

Comments
 (0)