xengineer’s diary

結果、メモ的な内容になっています。

rvmをupdateする

まだ自分の環境にrvmが残っていたか・・・と最近気づいたわけで。

updateしようとしたら、あっさり怒られました。

$ rvm update stable
Unrecognized command line argument: 'stable' ( see: 'rvm usage' )

あれ?通らない・・・まずは言われた通りにやってみる。

$ rvm usage

...
...
中略
...
...

== Action

(Note: for most actions, 'rvm help action-name' may provide more information.)

*usage*     :: show this usage information
version     :: show the rvm version installed in rvm_path
use         :: setup current shell to use a specific ruby version
reload      :: reload rvm source itself (useful after changing rvm source)
implode     :: (seppuku) removes the rvm installation completely.

               This means everything in $rvm_path (~/.rvm || /usr/local/rvm).

               This does not touch your profiles. However, this means that you
               must manually clean up your profiles and remove the lines which
               source RVM.
get         :: {head,stable} upgrades rvm to latest head or stable version.

               Check 'rvm help get' for more details.

               (If you experience bugs try this first with head version, then
               ask for help in #rvm on irc.freenode.net and hang around)
...
略
...

updateっていうのがそもそもなくなって、getになっているみたい。 というわけで、getで実行。

$ rvm get stable
Downloading https://get.rvm.io
Downloading https://raw.githubusercontent.com/wayneeseguin/rvm/master/binscripts/rvm-installer.asc
Verifying /home/nemoto_hideaki/.rvm/archives/rvm-installer.asc
gpg: 2015年04月14日 09時05分41秒 JSTにRSA鍵ID BF04FF17で施された署名
gpg: "Michal Papis (RVM signing) <mpapis@gmail.com>"からの正しい署名
gpg: *警告*: この鍵は信用できる署名で証明されていません!
gpg:          この署名が所有者のものかどうかの検証手段がありません。
主鍵のフィンガー・プリント: 409B 6B17 96C2 7546 2A17  0311 3804 BB82 D39D C0E3
     副鍵のフィンガー・プリント: 62C9 E5F4 DA30 0D94 AC36  166B E206 C29F BF04 FF17
GPG verified '/home/nemoto_hideaki/.rvm/archives/rvm-installer'
Downloading https://github.com/rvm/rvm/archive/1.26.11.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc
gpg: 2015年03月31日 06時52分13秒 JSTにRSA鍵ID BF04FF17で施された署名
gpg: "Michal Papis (RVM signing) <mpapis@gmail.com>"からの正しい署名
gpg: *警告*: この鍵は信用できる署名で証明されていません!
gpg:          この署名が所有者のものかどうかの検証手段がありません。
主鍵のフィンガー・プリント: 409B 6B17 96C2 7546 2A17  0311 3804 BB82 D39D C0E3
     副鍵のフィンガー・プリント: 62C9 E5F4 DA30 0D94 AC36  166B E206 C29F BF04 FF17
GPG verified '/home/nemoto_hideaki/.rvm/archives/rvm-1.26.11.tgz'

Upgrading the RVM installation in /home/nemoto_hideaki/.rvm/
    RVM PATH line found in /home/nemoto_hideaki/.zshrc.
    RVM PATH line not found for Bash, rerun this command with '--auto-dotfiles' flag to fix it.
    RVM sourcing line found in /home/nemoto_hideaki/.bashrc /home/nemoto_hideaki/.bash_login /home/nemoto_hideaki/.zlogin.
Upgrade of RVM in /home/nemoto_hideaki/.rvm/ is complete.

# hideaki nemoto,
#
#   Thank you for using RVM!
#   We sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne, Michal & team.

In case of problems: http://rvm.io/help and https://twitter.com/rvm_io

Upgrade Notes:

  * No new notes to display.

RVM reloaded!

$ rvm --version
rvm 1.26.11 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]

無事アップデートできた。ちゃんちゃん。