Help us understand the problem. What is going on with this article?

gem install 時に途中経過を表示させたい時は -V オプションをつける

More than 3 years have passed since last update.

gem install でエラーメッセージも出ずにタイムアウトしてインストール失敗することが、稀にあります。
そんな時は、途中経過を表示するverboseオプション -V をつけると、どこで止まっているのか見れて便利です。(-v ではありません)
(→・Rubygems Command Reference

通常のgemのインストール例

$ gem install ev3dev
Fetching: ev3dev-0.0.2.gem (100%)
Successfully installed ev3dev-0.0.2
Parsing documentation for ev3dev-0.0.2
Installing ri documentation for ev3dev-0.0.2
Done installing documentation for ev3dev after 0 seconds
1 gem installed

-V オプションをつけたgemのインストール例

$ gem install ev3dev -V
GET https://api.rubygems.org/latest_specs.4.8.gz
302 Moved Temporarily
GET https://rubygems.global.ssl.fastly.net/latest_specs.4.8.gz
304 Not Modified
HEAD https://api.rubygems.org/api/v1/dependencies
200 OK
GET https://api.rubygems.org/api/v1/dependencies?gems=ev3dev
200 OK
/Users/xxx/.rbenv/versions/2.1.7/lib/ruby/gems/2.1.0/gems/ev3dev-0.0.2/lib/ev3dev.rb
/Users/xxx/.rbenv/versions/2.1.7/lib/ruby/gems/2.1.0/gems/ev3dev-0.0.2/lib/ev3dev/device.rb
/Users/xxx/.rbenv/versions/2.1.7/lib/ruby/gems/2.1.0/gems/ev3dev-0.0.2/lib/ev3dev/motor.rb
/Users/xxx/.rbenv/versions/2.1.7/lib/ruby/gems/2.1.0/gems/ev3dev-0.0.2/lib/ev3dev/sensor.rb
Successfully installed ev3dev-0.0.2
Parsing documentation for ev3dev-0.0.2
Parsing sources...
100% [ 4/ 4]  lib/ev3dev/sensor.rb                                              
Done installing documentation for ev3dev after 0 seconds
1 gem installed

200 OK で固まってタイムアウトすることがありました。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away