Ruby RVM dependencies are incorrect
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-
sudo apt-get install libreadline6-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libreadline-
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.
Status changed to 'Confirmed' because the bug affects multiple users.