rake neo4j:install[community-latest] - `neo4j-rake_tasks` gem 不再依赖于 `neo4j-core` gem
rake neo4j:install[community-latest] - The `neo4j-rake_tasks` gem is no longer a dependency of the `neo4j-core` gem
我正在按照此说明操作,"Getting Started with Neo4j and Ruby"、https://neo4j.com/developer/ruby-course/。
以下是设置资产门户 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],工作?
谢谢!
我需要将以下行添加到 GemFile
gem 'neo4j-core'
gem 'neo4j-rake_tasks'
然后 运行 命令
bundle install
rake neo4j:install[community-latest]
rake neo4j:start
只添加流畅的片段
gem 'neo4j-rake_tasks'
捆绑安装
希望能解决您的问题。
我正在按照此说明操作,"Getting Started with Neo4j and Ruby"、https://neo4j.com/developer/ruby-course/。
以下是设置资产门户 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],工作?
谢谢!
我需要将以下行添加到 GemFile
gem 'neo4j-core'
gem 'neo4j-rake_tasks'
然后 运行 命令
bundle install
rake neo4j:install[community-latest]
rake neo4j:start
只添加流畅的片段
gem 'neo4j-rake_tasks'
捆绑安装
希望能解决您的问题。