gpt4 book ai didi

mysql - 安装 Mongify 时出错

转载 作者:行者123 更新时间:2023-11-29 19:28:44 27 4
gpt4 key购买 nike

我安装了运行 mongify 所需的所有实用程序,如上所述 here但我仍然收到此错误 -

/home//.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems.rb:270:in `find_spec_for_exe': can't find gem mongify (>= 0.a) (Gem::GemNotFoundException)
from /home//.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems.rb:298:in `activate_bin_path'
from /home//.rvm/gems/ruby-2.3.0/bin/mongify:22:in `<main>'
from /home//.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval'
from /home//.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `<main>'

这是我的 gem 列表:

*** LOCAL GEMS ***

activemodel (4.2.7.1)
activerecord (4.2.7.1)
activesupport (4.2.7.1)
arel (6.0.4)
bigdecimal (default: 1.2.8)
bson (1.12.5)
bson_ext (1.12.5)
builder (3.2.3)
bundler (1.14.2)
bundler-unload (1.0.2)
did_you_mean (1.0.0)
executable-hooks (1.3.2)
gem-wrappers (1.2.7)
highline (1.7.8)
i18n (0.7.0)
io-console (default: 0.4.5)
json (default: 1.8.3)
json_pure (2.0.3)
minitest (5.8.3)
mongify (1.3.1)
mongo (1.12.5)
net-telnet (0.1.1)
power_assert (0.2.6)
psych (default: 2.0.17)
rake (10.4.2)
rdoc (5.0.0, default: 4.2.1)
rubygems-bundler (1.4.4)
rubygems-update (2.6.10)
rvm (1.11.3.9)
test-unit (3.1.5)
thread_safe (0.3.5)
tzinfo (1.2.2)

最佳答案

你是如何安装gem的mongify ?如果您使用bundler ,它将帮助您修复所有依赖项,例如


» gem install mongify<br/>
Fetching: activemodel-4.2.7.1.gem (100%)
Successfully installed activemodel-4.2.7.1
Fetching: arel-6.0.4.gem (100%)
Successfully installed arel-6.0.4
Fetching: activerecord-4.2.7.1.gem (100%)
Successfully installed activerecord-4.2.7.1
Fetching: bson-1.12.5.gem (100%)
Successfully installed bson-1.12.5
Fetching: mongo-1.12.5.gem (100%)
Successfully installed mongo-1.12.5
Fetching: bson_ext-1.12.5.gem (100%)
Building native extensions. This could take a while...
Successfully installed bson_ext-1.12.5
Fetching: highline-1.7.8.gem (100%)
Successfully installed highline-1.7.8
Fetching: mongify-1.3.1.gem (100%)
Successfully installed mongify-1.3.1
8 gems installed
或者,您确定在安装该 gem 时遇到错误吗?检查了您的错误消息,看起来您执行了 gem cli mongify ?请粘贴您的完整错误消息。我会更新我的答案。

关于mysql - 安装 Mongify 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41950717/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com