Author Topic: RVM and Ruby package requirements  (Read 1191 times)

Offline flebber

  • Jr. Member
  • **
  • Posts: 14
RVM and Ruby package requirements
« on: May 14, 2011, 09:31:11 PM »
Just a very basic question for the advanced section.

In the print out documentation for rvm after install it lists apt-get requirements for ruby to run.
Code: [Select]
# For Ruby (MRI & ree)  you should install the following OS dependencies:
  ruby: /usr/bin/apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev

# For JRuby (if you wish to use it) you will need:
  jruby: /usr/bin/apt-get install curl g++ openjdk-6-jre-headless
  jruby-head: /usr/bin/apt-get install ant openjdk-6-jdk

Most of the requirements for ruby really don't seem to matter as I ignored them and ruby 1.8.7 & ruby 1.9.2 are working anyway, bonus. However Jruby fails to install via rvm .

Code: [Select]
# For Ruby (MRI & ree)  you should install the following OS dependencies:
  ruby: /usr/bin/apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev

# For JRuby (if you wish to use it) you will need:
  jruby: /usr/bin/apt-get install curl g++ openjdk-6-jre-headless
  jruby-head: /usr/bin/apt-get install ant openjdk-6-jdk

Would this error be as a result of dependencies build-essential or jre-headless? Something else?