Ruby rake neo4j:install[community latest]-'neo4j-rake_tasks'gem不再是'neo4j core'gem的依赖项

Ruby rake neo4j:install[community latest]-'neo4j-rake_tasks'gem不再是'neo4j core'gem的依赖项,ruby,neo4j,rake,Ruby,Neo4j,Rake,我遵循这条指示,“开始使用Neo4j和Ruby” 以下是如何设置资产门户Rails应用程序: rails new asset_portal -m http://neo4jrb.io/neo4j/neo4j.rb -O cd asset_portal rake neo4j:install[community-latest] rake neo4j:start 但我跑完之后 rake neo4j:install[community-latest] 我收到了这张纸条 The `neo4j-rake_

我遵循这条指示,“开始使用Neo4j和Ruby”

以下是如何设置资产门户Rails应用程序:

rails new asset_portal -m http://neo4jrb.io/neo4j/neo4j.rb -O
cd asset_portal
rake neo4j:install[community-latest]
rake neo4j:start
但我跑完之后

rake neo4j:install[community-latest]
我收到了这张纸条

The `neo4j-rake_tasks` gem is no longer a dependency of the `neo4j-core` gem.
If you would like to use the rake tasks, you will need to explicitly include the `neo4j-rake_tasks` gem in your project.
Please note that the `neo4j-rake_tasks` gem is only for development and test environments (NOT for production).
Be sure to require the `neo4j-rake_tasks` gem AFTER the `neo4j-core` and `neo4j` gems.
For more details see the Neo4j.rb documentation
我现在该怎么做才能使这个声明,rake neo4j:install[community latest]起作用


谢谢

我需要在文件中添加以下行

gem 'neo4j-core'

gem 'neo4j-rake_tasks'
然后运行命令

bundle install
rake neo4j:install[community-latest]
rake neo4j:start

仅添加流动代码段

 gem 'neo4j-rake_tasks'
捆绑安装

希望能解决你的问题