Skip to content

Commit

Permalink
neo4j gem needs to load rake files separately railtie.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
subvertallchris committed Sep 21, 2014
1 parent 976d511 commit 4da6b86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Rakefile
@@ -1,5 +1,7 @@
require 'rake'
require "bundler/gem_tasks"
load 'neo4j/tasks/neo4j_server.rake'
load 'neo4j/tasks/migration.rake'

desc "Generate YARD documentation"
task 'yard' do
Expand Down

4 comments on commit 4da6b86

@OpenCoderX
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is 'neo4j/tasks/neo4j_server.rake'? I don't see it in the tasks directory with migration.rake.

@subvertallchris
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cheerfulstoic
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I personally looked for it in neo4j when I first looked. I originally expected the neo4j gem to be like ActiveRecord whereas I expected the neo4j-core gem to be more like the pg or mysql2 gems, but that's not quite the case.

@OpenCoderX
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was briefly confused, it's making sense now as I slowly read the code. I've got my whole project using rspec and the rake installed test environment now.

Please sign in to comment.