Ruby 中的 Shotgun Gem 问题

问题描述

我在使用 ruby​​ 中的 Shotgun GEM 连接到服务器时遇到问题。这是我得到的错误

有人可以在这里确定问题吗?是我输入的命令,还是其他什么?我之前在尝试安装 Ruby Bundle 来运行这个实验时遇到了问题。我曾在解决该问题时获得过帮助,但 GEM 似乎仍然存在问题。

Antonio@MacBook-Pro sinatra-shotgun-server % rackup app.rb 回溯(最近一次调用最后一次): 22:来自 /Users/Antonio/.rvm/gems/ruby-2.6.1/bin/ruby_executable_hooks:24:in <main>' 21: from /Users/Antonio/.rvm/gems/ruby-2.6.1/bin/ruby_executable_hooks:24:in eval' 20:来自 /Users/Antonio/.rvm/gems/ruby-2.6.1/bin/rackup:23:in <main>' 19: from /Users/Antonio/.rvm/rubies/ruby-2.6.1/lib/ruby/site_ruby/2.6.0/rubygems.rb:297:in activate_bin_path' 18:来自 /Users/Antonio/.rvm/rubies/ruby-2.6.1/lib/ruby/site_ruby/2.6.0/rubygems.rb:297:in synchronize' 17: from /Users/Antonio/.rvm/rubies/ruby-2.6.1/lib/ruby/site_ruby/2.6.0/rubygems.rb:299:in block in activate_bin_path' 16:来自 /Users/Antonio/.rvm/rubies/ruby-2.6.1/lib/ruby/site_ruby/2.6.0/rubygems.rb:236:in finish_resolve' 15: from /Users/Antonio/.rvm/rubies/ruby-2.6.1/lib/ruby/site_ruby/2.6.0/rubygems/request_set.rb:435:in resolve_current' 14:来自 /Users/Antonio/.rvm/rubies/ruby-2.6.1/lib/ruby/site_ruby/2.6.0/rubygems/request_set.rb:423:in resolve' 13: from /Users/Antonio/.rvm/rubies/ruby-2.6.1/lib/ruby/site_ruby/2.6.0/rubygems/resolver.rb:192:in resolve' 12:来自 /Users/Antonio/.rvm/rubies/ruby-2.6.1/lib/ruby/site_ruby/2.6.0/rubygems/resolver/molinillo/lib/molinillo/resolver.rb:42:in {{1} }解决' 10:来自 /Users/Antonio/.rvm/rubies/ruby-2.6.1/lib/ruby/site_ruby/2.6.0/rubygems/resolver/molinillo/lib/molinillo/resolution.rb:106:in {{1} }初始状态' 8:来自/Users/Antonio/.rvm/rubies/ruby-2.6.1/lib/ruby/site_ruby/2.6.0/rubygems/resolver/molinillo/lib/molinillo/delegates/specification_provider.rb:51:in {{ 1}}with_no_such_dependency_error_handling' 6:来自/Users/Antonio/.rvm/rubies/ruby-2.6.1/lib/ruby/site_ruby/2.6.0/rubygems/resolver/molinillo/lib/molinillo/delegates/specification_provider.rb:52:in {{ 1}}sort_dependencies' 4:来自 /Users/Antonio/.rvm/rubies/ruby-2.6.1/lib/ruby/site_ruby/2.6.0/rubygems/resolver.rb:279:in resolve' 11: from /Users/Antonio/.rvm/rubies/ruby-2.6.1/lib/ruby/site_ruby/2.6.0/rubygems/resolver/molinillo/lib/molinillo/resolution.rb:64:in sort_by' 2:来自 /Users/Antonio/.rvm/rubies/ruby-2.6.1/lib/ruby/site_ruby/2.6.0/rubygems/resolver.rb:279:in start_resolution' 9: from /Users/Antonio/.rvm/rubies/ruby-2.6.1/lib/ruby/site_ruby/2.6.0/rubygems/resolver/molinillo/lib/molinillo/resolution.rb:165:in block in sort_dependencies' /Users/Antonio/.rvm/rubies/ruby-2.6.1/lib/ruby/site_ruby/2.6.0/rubygems/resolver.rb:235:in `search_for':无法解析依赖:用户请求'did_you_mean (= 1.3.0)' (Gem::UnsatisfiableDependencyError) Antonio@MacBook-Pro sinatra-shotgun-server %

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)