Create .ruby-version and .ruby-gemset with rvm

前端 未结 4 1547
情歌与酒
情歌与酒 2021-01-30 00:54

Is there a way to create the associated .ruby-version and .ruby-gemset files when creating a new gemset?

With older versions of rvm, one could

4条回答
  •  不思量自难忘°
    2021-01-30 01:19

    Suppose I am creating gemset for my rails app whose name is tptapp then we can do it in following way.

    rvm use 2.2.2@tptapp --create
    

    here tptapp is name of gemset, 2.2.2 is Ruby version.

提交回复
热议问题