Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should RVM automatically change gemsets based on .ruby-gemset?

Tags:

ruby

rvm

I updated RVM and started switching from .rvmrc to .ruby-gemset and, where necessary, .ruby-version.

However, so far, when I change into a directory with .ruby-gemset, it doesn't automatically start using the correct one as it would with .rvmrc.

Is it supposed to work the same way?

I'm using RVM 1.20.5.

like image 991
Nathan Long Avatar asked May 20 '26 05:05

Nathan Long


1 Answers

RVM detects .ruby-version and only if it is present it will read .ruby-gemset.

RVM does not reads .ruby-gemset when .ruby-version is not available.

You could try .ruby-version (editted from current):

default
like image 108
mpapis Avatar answered May 22 '26 22:05

mpapis