RVM/rbenv ubuntu

wildwind · 2013年04月30日 · 最后由 luikore 回复于 2014年02月25日 · 8085 次阅读

hi,all. I can't input Chinese words.this is my problem. my os : ubuntu 12.10 rvm -v rvm 1.19.6 (stable) by Wayne E. Seguin [email protected], Michal Papis [email protected] [https://rvm.io/]

rvm install 1.9.3,then I get this problem. Searching for binary rubies, this might take some time. No binary rubies available for: ubuntu/12.10/i386/ruby-1.9.3-p392. Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies. Installing requirements for ubuntu, might require sudo password

is this mean ,there is no properly version ruby for my ubuntu?what shall I do . thank you so much!

That means there's no precompiled-binary distribution, so rvm falls back to install ruby from source.

thank u .yes,Then it install ruby from ubuntu source with sudo .so this cause many questions ,when I gem install XXX,is woult raise a permission question .I want to install ruby with rvm install,not from the ubuntu.any suggestions?

You don't need sudo for the install command.

sudo rvm remove ruby-1.9.3-p392
sudo rvm requirements
rvm autolibs 0
rvm install ruby-1.9.3-p392

刚才我又把上一帖的命令修改了下..

先装个 ibus 或者小企鹅吧…… 是不是没装那个叫做什么 build-ess* (后面的词不记得了) 它只是说没有编译好的版本给你安装,按说如果这样它会下源码编译的

安装的时候按说不需要 sudo 的

对了,弄个头像吧,不然恐怕帮你的人很少

#1 楼 @luikore 吕哥,人家只是不能输入中文,又不是不能读中文。。。 :)

#8 楼 @zhangjinzhu you ke neng ta de xi tong mei you zhong wen zi ti, xian shi bu liao a

装完一些依赖库再试试

sudo apt-get update
sudo aptitude install -y \
  build-essential zlib1g-dev \
  libssl-dev openssl \
  libreadline-dev \
  sqlite3 libsqlite3-dev \
  libxslt-dev libxml2-dev \
  curl wget git-core \
  mysql-client libmysqlclient-dev

#9 楼 @luikore ye you ke neng ba.... ;)

#4 楼 @luikore 你好,我使用了这个 rvm remove ruby-1.9.3-p392 rvm requirements rvm autolibs 0 rvm install ruby-1.9.3-p392,但是,问题还存在。

#12 楼 @a307697028 呃... 你的问题是什么问题?和楼主的不是一个问题吧?还有症状是什么?最初想做什么?报的是什么错误?

wildwind 关闭了讨论。 05月14日 22:27
需要 登录 后方可回复, 如果你还没有账号请 注册新账号