当我尝试运行shotgun
时,我遇到以下错误(这更多是关于gem环境而不是这个特定的gem):
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency.rb:296:in `to_specs': Could not find 'shotgun' (>= 0) among 12 total gem(s) (Gem::LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency.rb:307:in `to_spec'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:47:in `gem'
from /usr/local/bin/shotgun:22:in `<main>'
换句话说,我认为它正在寻找错误的领域(我不会尝试在Mac OSX&Ruby.framework上运行。
我曾试图删除我认为是rm -rf ~
的符号链接,并删除了许多内容。
我有以下作为我的RubyGems环境,我只想拥有自己独立的ruby gem安装目录,而不依赖于Framework或Library。 我该怎么做?
但是,当我查看Ruby可执行文件和安装目录时,两者都在库中。
RubyGems Environment:
- RUBYGEMS VERSION: 2.0.14
- RUBY VERSION: 2.0.0 (2014-05-08 patchlevel 481) [universal.x86_64-darwin13]
- INSTALLATION DIRECTORY: /Library/Ruby/Gems/2.0.0
- RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
- ruby
- universal-darwin-13
- GEM PATHS:
- /Library/Ruby/Gems/2.0.0
- /Users/angelacode/.gem/ruby/2.0.0
- /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0