can't install new ruby

1,560 views
Skip to first unread message

Dwayne Macgowan

unread,
Sep 12, 2013, 5:09:21 PM9/12/13
to rubyversi...@googlegroups.com
Hi!

I'm getting the following error when trying to install ruby 1.9.3:

==================
[dwaynemac@dwaynemac-ThinkPad-X1 services]$ rvm install 1.9.3
Searching for binary rubies, this might take some time.
Checking requirements for ubuntu.
Installing requirements for ubuntu.
dwaynemac password required for '/usr/bin/env PATH=/home/dwaynemac/bin/Sencha/Cmd/3.1.2.342:/home/dwaynemac/android-sdk-linux/tools:/home/dwaynemac/android-sdk-linux/platform-tools:/home/dwaynemac/android-sdk-linux/build-tools/17.0.0:/usr/local/heroku/bin:/home/dwaynemac/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dwaynemac/.rvm/bin:/sbin:/usr/sbin:/usr/local/sbin apt-get --quiet --yes update':
Updating system....................................................................................................................................................................................................
Error running 'requirements_debian_update_system ruby-1.9.3-p448',
please read /home/dwaynemac/.rvm/log/1379020019_ruby-1.9.3-p448/update_system.log
Requirements installation failed with status: 100.
==================

could someone point me in the right direction?

I'm running Ubuntu 13.04 and rvm 1.22.8

mpapis

unread,
Sep 13, 2013, 11:26:40 AM9/13/13
to rubyversi...@googlegroups.com
start with showing the log /home/dwaynemac/.rvm/log/
1379020019_ruby-1.9.3-p448/update_system.log

Dwayne Macgowan

unread,
Sep 15, 2013, 11:00:21 PM9/15/13
to rubyversi...@googlegroups.com

Noémie Bristol-Courgeon

unread,
Sep 29, 2013, 5:19:57 PM9/29/13
to rubyversi...@googlegroups.com

Hi!

Did you solve this issue ? I'am having exactly the same problem.

Dwayne Macgowan

unread,
Sep 29, 2013, 5:26:19 PM9/29/13
to rubyversi...@googlegroups.com
y didn't find the exact problem. but i solved it resetting my .bashrc

---
Dwayne



--
You received this message because you are subscribed to the Google Groups "rvm (Ruby Version Manager)" group.
 
Please visit http://rvm.io/ for documentation on rvm.
Please visit https://github.com/wayneeseguin/rvm/issues to see what is being worked on currently.
RVM2 The Plan: https://docs.google.com/document/d/1xW9GeEpLOWPcddDg_hOPvK4oeLxJmU3Q5FiCNT7nTAc/edit?usp=sharing
---
You received this message because you are subscribed to a topic in the Google Groups "RVM (Ruby Version Manager)" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyversionmanager/fj6czPvDRvQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rubyversionmana...@googlegroups.com.
To post to this group, send email to rubyversi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Message has been deleted

Noémie Bristol-Courgeon

unread,
Sep 30, 2013, 7:34:40 AM9/30/13
to rubyversi...@googlegroups.com
I just solved my problem by doing:

~ $ rvm autolibs read-fail
~ $ rvm install 1.9.3
Searching for binary rubies, this might take some time.
Checking requirements for ubuntu.
Missing required packages: gawk, libreadline6-dev, zlib1g-dev, libssl-dev, libsqlite3-dev, sqlite3, libgdbm-dev, libtool, bison, libffi-dev.
RVM autolibs is now configured with mode '2' => 'check and stop if missing',
please run `rvm autolibs enable` to let RVM do its job or run and read `rvm autolibs [help]`
or visit https://rvm.io/rvm/autolibs for more information.
Requirements installation failed with status: 1.



I installed all the missing required packages and it worked.

---
Dwayne



To unsubscribe from this group and all its topics, send an email to rubyversionmanager+unsub...@googlegroups.com.

mpapis

unread,
Oct 18, 2013, 3:33:25 PM10/18/13
to rubyversi...@googlegroups.com
the failed command was: sudo apt-get --quiet --yes update

make sure it works manually and then get again to rvm
Reply all
Reply to author
Forward
0 new messages