[英]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.