コレグレーデギネード

WindowsとかUbuntuとかRubyとかRailsとか

.rvmrcから.ruby-versionと.ruby-gemsetに移行する

rvm環境下で下記のメッセージが出た

You are using '.rvmrc', it requires trusting, it is slower and it is not compatible with other ruby managers,
you can switch to '.ruby-version' using 'rvm rvmrc to ruby-version'
or ignore this warning with 'rvm rvmrc warning ignore /home/hoge/project/.rvmrc',
'.rvmrc' will continue to be the default project file in RVM 1 and RVM 2,
to ignore the warning for all files run 'rvm rvmrc warning ignore all.rvmrcs'.

直訳:他のrubyマネージャとは互換性がありません。'rvm rvmrc to ruby​​-version'を使って '.ruby-version'に切り替えることができます。

言われたとおりにしてみる

$ rvm rvmrc to .ruby-version

今まであった.rvmrcが削除されて.ruby-versionと.ruby-gemsetが作成された

$ ls -a
.   .bundle       .ruby-version  Gemfile       README.rdoc  app     config.ru  doc  log     script  tmp
..  .ruby-gemset  Capfile        Gemfile.lock  Rakefile     config  db         lib  public  test    vendor

.ruby-version

ruby-1.9.3-p551

.ruby-gemset

rails3212

参考:
https://qiita.com/prinum/items/ac9feadbbe497649ab3fqiita.com