LoginSignup
4
4

More than 5 years have passed since last update.

gemsetを維持しつつ、rvm上で管理しているrubyのpatch levelを最新にする

Last updated at Posted at 2014-04-17

summary

rvm upgradeを使う。

step

  1. rvm get stable rvm最新版を取ってくる
  2. rvm reload リロード。(* 上記のコマンドの末尾に、自動で行われるかもだが念のため。)
  3. rvm upgrade #{old} #{new}
    • 例:rvm upgrade 1.9.2-pxxx 1.9.2とか。
  4. 色々聞かれる。そのまま移行したいだけなら全部Yでよい shell-session Are you sure you wish to upgrade from ruby-2.0.0-p195 to ruby-2.0.0-p247? (Y/n): Y Are you sure you wish to MOVE gems from ruby-2.0.0-p195 to ruby-2.0.0-p247? This will overwrite existing gems in ruby-2.0.0-p247 and remove them from ruby-2.0.0-p195 (Y/n): Y Do you wish to move over aliases? (Y/n): Y Do you wish to move over wrappers? (Y/n): Y Do you also wish to completely remove ruby-2.0.0-p195 (inc. archive)? (Y/n): Y

background

  • rvm updateってやろうとしてもできなかったので。
  • メモるまでもなかった感

references

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4