[英]How can I configure Rails with Neo4j in an existing repo?
我目前正在嘗試重新配置我的數據庫以使用 Neo4j 而不是 Postgres,並且我遇到了配置問題。
我已將neo4j
gem 添加到我的 gemfile 以及neo4j-core
、 neo4j-ruby-driver
和neo4j-rake_tasks
中。 I've tried running rake neo4j:install[community-latest]
to generate the Neo4j instance but it throws me this – zsh: no matches found: neo4j:install[community-latest]
After listing all rake tasks this rake task does not appear盡管每個在線資源都證明這是生成數據庫的方式,但仍然存在。 我目前在 Rails 版本6.1.3.2
和 ruby 版本2.6.6
上運行
這些是我一直在使用的一些資源。
提前謝謝了
這是 zsh shell 錯誤解釋命令行中的括號的問題。
使用單引號來轉義參數。 例子:
rake 'neo4j:install[community-latest,development]'
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.