ライオンを実行していた以前のMacに、インストールしようとしているコンピューターと同じ内部構造のレールをインストールしました。RVMを介してコンプでレールを取得しようとしても、libksbaをインストールする必要があるというプロンプトが表示されるので、macポートを介して試してみました。その場合、macポートを試してみると、portコマンドを使用するとxcodeを削除する必要があると言われました。 。
私が試したコマンドは次のとおりです。
curl -L https://get.rvm.io | bash -s stable
port install libksba
rvm install 1.9.3 --with-gcc=clang
rvm use 1.9.3 --default
最後のコマンドは、エラーメッセージが表示される場所です。誰かがレールを手に入れる確実な方法を知っているなら、私は永遠に素晴らしいでしょう!
編集**私はhomebrewをインストールしてmacportsをアンインストールし、libksbaをインストールしましたが、戻ってrvmを介して1.9.3をインストールしようとすると、このメッセージが表示されます。
Ruby (and needed base gems) for your selection will be installed shortly.Before it happens, please read and execute the instructions below. Please use a separate terminal to execute any additional commands.
Notes for Mac OS X 10.7.5, Xcode 4.5.2.
For JRuby: Install the JDK. See http://developer.apple.com/java/download/ # Current Java version "1.6.0_26" For IronRuby: Install Mono >= 2.6 For Ruby 1.9.3: Install libksba # If using Homebrew, 'brew install libksba' For Opal: Install Nodejs with NPM. See http://nodejs.org/download/ To use an RVM installed Ruby as default, instead of the system ruby:
rvm install 1.8.7 # installs patch 357: closest supported version
rvm system ; rvm gemset export system.gems ; rvm 1.8.7 ; rvm gemset import system.gems # migrate your gems
rvm alias create default 1.8.7 And reopen your terminal windows. Xcode and gcc::