Ruby RVM dependencies are incorrect

Bug #930607 reported by Zsolt Parragi
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ruby-rvm (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu 11.10
ruby-rvm 1.6.9-0ubuntu2

According to "rvm notes"

# 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

Which is true if you install rvm without apt. But if installed with apt, ruby-rvm has libreadline-gplv2-dev as a dependency, and installing libreadline6-dev removes the rvm package:

sudo apt-get install libreadline6-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libreadline-gplv2-dev ruby-rvm
The following NEW packages will be installed:
  libreadline6-dev
0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B/264 kB of archives.
After this operation, 2,220 kB disk space will be freed.
Do you want to continue [Y/n]?

Also when using the package rvm, both ruby 1.8.7 and 1.9.2 are broken with compilation errors (make.logs are attached). Removing ruby-rvm, Installing libreadline6-dev and installing the rvm with it's installation script fixes the problem, and everything compiles.

Tags: ruby-rvm
Revision history for this message
Zsolt Parragi (zsolt.parragi) wrote :
Revision history for this message
Zsolt Parragi (zsolt.parragi) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ruby-rvm (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.