X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e7a865275a832420b9d63c0ab3ebf87eaca57d26..2f66d4cc05e9442a9bb69969744d0750a02a1ed4:/doc/sdk/ruby/index.html.textile.liquid diff --git a/doc/sdk/ruby/index.html.textile.liquid b/doc/sdk/ruby/index.html.textile.liquid index 5ad02543ef..6f06722d23 100644 --- a/doc/sdk/ruby/index.html.textile.liquid +++ b/doc/sdk/ruby/index.html.textile.liquid @@ -4,39 +4,39 @@ navsection: sdk navmenu: Ruby title: "Installation" ... +{% comment %} +Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: CC-BY-SA-3.0 +{% endcomment %} The Ruby SDK provides a generic set of wrappers so you can make API calls easily. -h3. Installation +h2. Installation If you are logged in to an Arvados VM, the Ruby SDK should be installed. To use it elsewhere, you can either install the @arvados@ gem via RubyGems or build and install the package using the arvados source tree. -h4. Prerequisites: Ruby >= 2.0.0 +h3. Prerequisites -You can use "RVM":http://rvm.io/rvm/install to install and manage Ruby versions. +# "Install Ruby":../../install/ruby.html -h4. Option 1: install with RubyGems +The SDK uses @curl@ which depends on the @libcurl@ C library. To build the module you may have to install additional packages. On Debian 9 this is: -
-$ sudo -i gem install arvados
+$ apt-get install build-essential libcurl4-openssl-dev
 
-
-h4. Option 2: build and install from source +h3. Install with RubyGems
-$ git clone https://github.com/curoverse/arvados.git
-$ cd arvados/sdk/ruby
-$ gem build arvados.gemspec
-$ sudo -i gem install arvados-*.gem
+# gem install arvados
 
-h4. Test installation +h3. Test installation If the SDK is installed, @ruby -r arvados -e 'puts "OK!"'@ should produce no errors.