我正在尝试安装s3nuke。来自具有最新红宝石和宝石的最新 Mac OS。
首先,我将 git 存储库克隆到我的/var/src/
(现在/var/src/s3nuke
)。
README 上的安装非常简单:
gem install s3nuke
回复:
ERROR: Could not find a valid gem 's3nuke' (>= 0) in any repository
关于这个错误的大多数帮助假设我支持一些代理。我不是。我可以 ping rubygems 或 rubyforge 就好了。我可以成功更新甚至安装其他 gem。这里有些例子:
$ gem -v
1.8.24
$ ruby -v
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
$ gem install rubygems-update
Successfully installed rubygems-update-1.8.24
1 gem installed
Installing ri documentation for rubygems-update-1.8.24...
Installing RDoc documentation for rubygems-update-1.8.24...
$ update_rubygems
RubyGems 1.8.24 installed
$ sudo gem update --system
Latest version currently installed. Aborting.
所以让我们尝试一些其他的宝石:
$ gem install eventmachine
Fetching: eventmachine-1.0.0.gem (100%)
Building native extensions. This could take a while...
Successfully installed eventmachine-1.0.0
1 gem installed
Installing ri documentation for eventmachine-1.0.0...
Installing RDoc documentation for eventmachine-1.0.0...
$ gem install clamp
Fetching: clamp-0.5.0.gem (100%)
Successfully installed clamp-0.5.0
1 gem installed
Installing ri documentation for clamp-0.5.0...
Installing RDoc documentation for clamp-0.5.0...
所以我是最新的,可以安装其他宝石。但是 s3nuke 仍然不会让步。
$ gem install s3nuke
ERROR: Could not find a valid gem 's3nuke' (>= 0) in any repository
我什至添加了另一个 gem 源 (http://gems.rubyforge.org/),但仍然没有运气。
你能帮我吗?
这是我的环境:
$ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 2.0.a
- RUBY VERSION: 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
- INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8
- RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
- ruby
- universal-darwin-12
- GEM PATHS:
- /Library/Ruby/Gems/1.8
- /Users/my_username/.gem/ruby/1.8
- /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- :sources => ["http://rubygems.org/", "http://gems.rubyforge.org/"]
- REMOTE SOURCES:
- http://rubygems.org/
- http://gems.rubyforge.org/
我会尝试手动安装,但s3nuke git 存储库不包含 s3nuke.gem。
你有什么建议吗?