为SIPp安装吸管杯时遇到问题。 已安装红宝石,宝石进行安装。 (资源:link)
通过宝石安装
GURroot#gem install sippy_cup
ERROR: Could not find a valid gem 'sippy_cup' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - no such name
(https://rubygems.org/specs.4.8.gz
通过存储库安装
GURKES107root#gem install bundler
ERROR: Could not find a valid gem 'bundler' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - no such name
(https://rubygems.org/specs.4.8.gz)
这可能是我在 网络上使用带有过滤器的终端(通过putty)(限制/无下载) 的可能原因。我正在使用WinScp传输文件/设置/二进制文件。
有没有办法不使用上面提到的命令,比如下载tar文件并手动安装它?
Ruby,宝石版,宝石环境
GURroot#**ruby --version**
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
GURroot#gem --version
2.4.8
GURroot#gem env
RubyGems Environment:
- RUBYGEMS VERSION: 2.4.8
- RUBY VERSION: 2.2.3 (2015-08-18 patchlevel 173) [x86_64-linux]
- INSTALLATION DIRECTORY: /root/lib/ruby/gems/2.2.0
- RUBY EXECUTABLE: /root/bin/ruby
- EXECUTABLE DIRECTORY: /root/bin
- SPEC CACHE DIRECTORY: /root/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: /root/etc
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /root/lib/ruby/gems/2.2.0
- /root/.gem/ruby/2.2.0
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- https://rubygems.org/
- SHELL PATH:
- /usr/lib64/qt-3.3/bin
- /usr/local/sbin
- /usr/local/bin
- /sbin
- /bin
- /usr/sbin
- /usr/bin
- /root/bin
- /sbin
- /usr/bin
- /usr/sbin
- /usr/java/jdk1.6.0_33/bin