开发者

Moving my RVM project gemset to another patchlevel

My project has an .rvmrc file with the following: rvm 1.9.2-p180@p开发者_运维问答roject_name. However, I just updated my ruby 1.9.2 to the latest patch level (1.9.2-p290). Is there any way to migrate the gems in the project_name gemset to 1.9.2-p290?


You can copy gemsets with the following command:

rvm gemset copy 1.9.2-p180@project_name 1.9.2-p290@project_name


Reference: http://ruby.about.com/od/rubyversionmanager/ss/Upgrading-To-1-9-2-Using-Rvm_6.htm

Alternatively, your gemsets can be migrated (or moved) from one version of Ruby to another. Remember that migrate moves gemsets, not leaving a copy behind. But if you wish to do it this way, you can run the following command.

rvm migrate 1.9.2-p180@project_name 1.9.2-p290@project_name
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜