Locally installed gem install--local Redis-stat-0.4.13.gem

Source: Internet
Author: User

Because the host environment can not be linked to the network, sad, so only to find ways to download the package, upload to the host to install

Environment: el6.x86_64

1. Gem installation [http://centos.ustc.edu.cn/centos/6/os/x86_64/Packages/]

Ruby 1.9. Version 2 has the Ruby Gem installed by default, if your version is lower than this? Well, then look down.
Installing GEMS requires ruby version at 1.8.7

# Rpm-qa |grep Ruby
Rubygems-1.3.7-5.el6.noarch
Ruby-1.8.7.374-4.el6_6.x86_64
Ruby-irb-1.8.7.374-4.el6_6.x86_64
Ruby-libs-1.8.7.374-4.el6_6.x86_64
Ruby-rdoc-1.8.7.374-4.el6_6.x86_64
Ruby-devel-1.8.7.374-4.el6_6.x86_64
Rubygems-devel-1.3.7-5.el6.noarch

2. Redis-stat [gem install default download installation package path:/usr/local/share/gems/cache]

Gem Install--local Redis-3.0.7.gem
Successfully installed redis-3.0.7
1 Gem installed
Installing RI documentation for redis-3.0.7 ...
Installing RDOC documentation for redis-3.0.7 ...
# Gem Install--local Redis-stat-0.4.13.gem
Successfully installed redis-stat-0.4.13
1 Gem installed
Installing RI documentation for redis-stat-0.4.13 ...
Installing RDOC documentation for redis-stat-0.4.13 ...

# Gem Query--local

Locally installed gem install--local Redis-stat-0.4.13.gem

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.