2012-01-17 27 views
2

私はRubyプログラミングの初心者で、RVMをインストールしたいと思っています。私はhttps://rvm.beginrescueend.com/rvm/install/で示す手順に従ってきたが、私は、「ユーザーの$ RVMの要件」 それを発射している次に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 

の下に与えられたとして、私はステップに従ってきた私のインストール時には完全に

それをインストールすることはできませんよ私

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リスト」を発射しながら、apt-getをを使用して、これらの依存関係をインストールした後、それは私にエラーを与えたときに

bash: /usr/bin/rvm: No such file or directory 

その後、私はRVMにアクセスすることはできませんよ..... は、特定の方法 とRVMをインストールするために私を導いてください、私はUbuntuのに

+1

にルビーのバージョンを持って| head -1 "となり、" rvmは関数 "のような出力を得ました。そしてその後、私は "rvm use 1.9.2 --default"を実行して、1.9.2 .....のrubyバージョンを得ました。 – Jeet

+0

あなたは正しい軌道にいます...何が必要ですか? – uday

+1

あなたの肯定的な反応のために多くのDaveに感謝します...しかし私は私の解決策を得ました。私のコメントで言及することを忘れないでください..... – Jeet

答えて

7

火を11.10ベータ版を使用していますコマンドsource /usr/local/rvm/scripts/rvm してから行きます type rvm | head -1 となり、出力は rvm is a functionです。

その後、私はrvm use 1.9.2 --defaultを実行していると私は、私は、コマンド「ソースは/ usr/local/RVM /スクリプト/ RVM」を発射した後、型RVM」で行くしている1.9.2

+0

@Jeetこれがあなたの質問に対する答えであれば、あなたの "Jeet"ユーザでログインし、それを受け入れたものとしてマークしてください。これにより、すでに解決されている問題を他の人が解決することができなくなります。ありがとう – Basic

関連する問題