我是ruby编程的新手,想安装RVM。我已按照https://rvm.beginrescueend.com/rvm/install/提供的步骤,但我并不能完全地无法安装RVM
安装在我安装我按照步骤如下
STEP1 => user$ bash -s stable < <(curl -sk https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
O/p
Downloading RVM from wayneeseguin branch stable
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 125 100 125 0 0 19 0 0:00:06 0:00:06 --:--:-- 120
100 796k 100 796k 0 0 64804 0 0:00:12 0:00:12 --:--:-- 186k
Installing RVM to /usr/share/ruby-rvm/
installing - /usr/share/ruby-rvm/man/man1/rvm.1.gz -
installing - /usr/share/ruby-rvm/man/man1/rvm.1 -
RVM system user group 'rvm' exists, proceeding with installation.
# RVM: Shell scripts enabling management of multiple ruby environments.
# RTFM: https://rvm.beginrescueend.com/
# HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
# Screencast: http://screencasts.org/episodes/how-to-use-rvm
# In case of any issues read output of 'rvm requirements' and/or 'rvm notes'
Installation of RVM in /usr/share/ruby-rvm/ is complete.
# user,
#
# Thank you for using RVM!
# I sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne
然后给出我已经解雇“用户$ RVM要求” 它给我输出我像
Additional Dependencies:
# For Ruby/Ruby HEAD (MRI, Rubinius, & REE), install the following:
ruby: /usr/bin/apt-get install build-essential 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 automake libtool bison subversion
# For JRuby, install the following:
jruby: /usr/bin/apt-get install curl g++ openjdk-6-jre-headless
jruby-head: /usr/bin/apt-get install ant openjdk-6-jdk
# For IronRuby, install the following:
ironruby: /usr/bin/apt-get install curl mono-2.0-devel
但是当使用安装这些依赖关系后易于得到它给我的错误,而射击指挥“用户$ RVM列表”
bash: /usr/bin/rvm: No such file or directory
,之后我不能够访问RVM ..... 请指引我用特定的方式安装RVM 我使用Ubuntu 11.10测试版
我已经开了命令“源在/ usr /本地/ RVM /脚本/ RVM”,然后用“式去RVM | head -1“,并得到如”rvm是一个函数“的输出。之后,我已经运行“rvm use 1.9.2 --default”,并且我得到了1.9.2的红宝石版本。 – Jeet 2012-01-17 07:04:12
你在正确的轨道上...你需要什么? – uday 2012-01-17 07:10:30
非常感谢Dave为您的积极回应......但我得到了我的解决方案。我忘了在我的评论中提到..... – Jeet 2012-01-17 07:26:08