Note that there are some explanatory texts on larger screens.

plurals
  1. POWhat are the dependencies given on "rvm requirements" useful for?
    primarykey
    data
    text
    <p>Why does RVM, Ruby or Rails need <code>libc6-dev, ncurses-dev and libtool</code> ?</p> <p>on Ubuntu running <code>rvm requirements</code> gives us:</p> <blockquote> <p>Requirements for Linux ( DISTRIB_ID=Ubuntu<br> DISTRIB_RELEASE=10.10<br> DISTRIB_CODENAME=maverick<br> DISTRIB_DESCRIPTION="Ubuntu 10.10" )</p> <p>NOTE: 'ruby' represents Matz's Ruby Interpreter (MRI) (1.8.X, 1.9.X)<br> This is the <em>original</em> / standard Ruby Language Interpreter<br> 'ree' represents Ruby Enterprise Edition<br> 'rbx' represents Rubinius </p> <p>bash >= 4.1 required<br> curl is required<br> git is required (>= 1.7 for ruby-head)<br> patch is required (for 1.8 rubies and some ruby-head's). </p> <p>To install rbx and/or Ruby 1.9 head (MRI) (eg. 1.9.2-head), then you<br> must install and use rvm 1.8.7 first. </p> <p>Additional Dependencies:<br> # For Ruby / Ruby HEAD (MRI, Rubinius, &amp; REE), install the following:<br> ruby: /usr/bin/apt-get install build-essential openssl libreadline6<br> libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config</p> <p># For JRuby, install the following:<br> jruby: /usr/bin/apt-get install curl g++ openjdk-6-jre-headless<br> jruby-head: /usr/bin/apt-get install ant openjdk-6-jdk</p> <p># For IronRuby, install the following:<br> ironruby: /usr/bin/apt-get install curl mono-2.0-devel</p> </blockquote> <p>Why does RVM, Ruby or Rails need <code>libc6-dev, ncurses-dev and libtool</code> ?</p> <p>For the other packages, as far as i can make out: </p> <p><code>build-essential automake bison autoconf pkg-config</code> is useful for compiling from source<br> <code>libreadline6 libreadline6-dev</code> is needed for irb's readline support<br> <code>openssl libssl-dev</code> is required for ruby's SSL support<br> <code>curl git-core subversion</code> is required for fetching software<br> <code>zlib1g zlib1g-dev</code> is required for unpacking rubygems<br> <code>libyaml-dev</code> is required for ruby's YAML support<br> <code>libsqlite3-dev sqlite3</code> is required for sqlite support for rails<br> <code>libxml2-dev libxslt-dev</code> is required for parsing XML via nokogiri </p> <p>Want to know why RVM added them in the first place?<br> What well known libraries will break if any of these packages are not installed?<br> Which of these packages are necessary for ruby itself to be installed and which of them are needed for a stdlib ie. yaml or rexml ?</p> <p>EDIT: forgot pkg-config<br> EDIT: added some more questions at the end</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload