Project

General

Profile

Actions

Bug #9213

closed

[SDKs] After a fresh install, `arv` tells you to install gems

Added by Brett Smith over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
0.5

Description

% gem install --user arvados-cli
[it installs a bunch of dependencies, it works]
% arv

Please install all required gems:

  gem install activesupport andand curb google-api-client json oj trollop yaml

[it exits 1]

Here's the code from arv that leads up to the error, along with the exception that leads to the exit:

% irb
irb(main):001:0> begin
irb(main):002:1*   require 'curb'
irb(main):003:1>   require 'rubygems'
irb(main):004:1>   require 'arvados/google_api_client'
irb(main):005:1>   require 'json'
irb(main):006:1>   require 'pp'
irb(main):007:1>   require 'trollop'
irb(main):008:1>   require 'andand'
irb(main):009:1>   require 'oj'
irb(main):010:1>   require 'active_support/inflector'
irb(main):011:1>   require 'yaml'
irb(main):012:1>   require 'tempfile'
irb(main):013:1>   require 'net/http'
irb(main):014:1> end
LoadError: cannot load such file -- google/api_client
        from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `require'
        from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
        from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in `require'
        from /home/brett/.gem/ruby/2.1.0/gems/arvados-0.1.20160420143004/lib/arvados/google_api_client.rb:1:in `<top (required)>'
        from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `require'
        from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
        from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in `require'
        from (irb):4
        from /usr/bin/irb:11:in `<main>'

Subtasks 1 (0 open1 closed)

Task #9215: Review 9213-fix-arv-gems-wipResolvedBrett Smith05/12/2016Actions
Actions

Also available in: Atom PDF