1

CentOSを使用しています。ここに私の出力があります:

# which rvm
/usr/local/rvm/bin/rvm
# rvm ruby-1.9.3-p392@gemset
# /usr/local/rvm/bin/rvm ruby-1.9.3-p392@gemset
RVM is not a function, selecting rubies with 'rvm use ...' will not work.

You need to change your terminal emulator preferences to allow login shell.
Sometimes it is required to use `/bin/bash --login` as the command.
Please visit https://rvm.io/integration/gnome-terminal/ for a example.

ご覧のとおり、私が使用している場合はrvmすべてが機能しています。ただしcapistrano、このようなコマンドでフルパスを使用する

[46f28bd9] Command: cd /var/www/app/releases/20140718172057 && /usr/local/rvm/bin/rvm ruby-1.9.3-p392@gemset do bundle install --binstubs /var/www/app/shared/bin --path /var/www/app/shared/bundle --without development test --deployment --verbose

したがって、失敗するだけで、すべてのgemがデフォルトのルビーにインストールされますruby-1.9.3-p392@gemset

提案をありがとう。

4

1 に答える 1