仕様:XCode 4.3.2、Mac OS X 10.7.3、RVM 1.12.3(安定版)。Ruby 1.9.3をインストールする
私は本当にこれで助けが必要なので、何かが感謝します。
Ruby 1.8.7をインストールした後、1.9.3に更新する必要があったため、RVMが見つかりました。私は、RVMをインストールして、更新しようとしましたが、これが結果です:
rvm install 1.9.3
Fetching yaml-0.1.4.tar.gz to /Users/myname/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/myname/.rvm/src
Error running 'tar xmzf /Users/myname/.rvm/archives/yaml-0.1.4.tar.gz -C /Users/myname/.rvm/src ', please read /Users/myname/.rvm/log/ruby-1.9.3-p125/yaml/extract.log
Configuring yaml in /Users/myname/.rvm/src/yaml-0.1.4.
Error running ' ./configure
--prefix="/Users/myname/.rvm/usr" ', please read /Users/myname/.rvm/log/ruby-1.9.3-p125/yaml/configure.log Compiling yaml in /Users/myname/.rvm/src/yaml-0.1.4.
Error running 'make ', please read /Users/myname/.rvm/log/ruby-1.9.3-p125/yaml/make.log
Database file /Users/myname/.rvm/config/packages does not exist.
Installing Ruby from source to: /Users/myname/.rvm/rubies/ruby-1.9.3-p125,
this may take a while depending on your cpu(s)...
ruby-1.9.3-p125
- #fetching ruby-1.9.3-p125
- #extracted to /Users/myname/.rvm/src/ruby-1.9.3-p125 (already extracted) ruby-1.9.3-p125
- #configuring Error running ' ./configure
--prefix=/Users/myname/.rvm/rubies/ruby-1.9.3-p125 --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/myname/.rvm/usr ',
please read /Users/myname/.rvm/log/ruby-1.9.3-p125/configure.log
There has been an error while running configure. Halting the installation.
ls: /Users/myname/.rvm/rubies/*/bin/ruby: No such file or directory
のいずれかのバージョンをインストールする必要がありますか? –
sudoでrvmをインストールしましたか? –
curl -L get.rvm.ioを使用してrvmをインストールしました。 bashは安定しています。私はRubyを学んでいます。これは私の3日目のようなものなので、多くのファイルが意味をなさないと思います。ここに投稿してもらえますか? – Tucket44