Installing ruby using RVM fails, without trace

本秂侑毒 提交于 2019-12-01 19:56:06

I'll help you in #rvm on irc.freenode.net if you are still stuck. I am in there during the day EST.

OK, some deps were broken, that was the problem.

I did:

apt-get install build-essential bison openssl libreadline5 libreadline-dev curl git-core zlib1g zlib1g-dev libssl-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev

Now rvm is working properly.

Thank u!

It help for me. I add line to end of ~/.bashrc

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"

and reload bash. Now work

rvm use 1.9.2 --default

ruby -v ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]

I actually had the same problem. Turns out I had sudo bash'd into my console which killed it all. Need to install as the user... not under sudo. Nice 3 hours of time wasted! lol.

Pete.

I solved this problem by running:

rvm use ruby-1.8.7-p302
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!